- 浏览: 616943 次
- 性别:
- 来自: 北京
文章分类
- 全部博客 (314)
- 生活 (2)
- c# (37)
- 技术 (3)
- 400电话 (0)
- 400常见问题 (0)
- 400资费 (0)
- html (7)
- css (0)
- 数据库 (7)
- javascript (16)
- php (33)
- asp.net mvc2 (10)
- mysql (9)
- C# 3.0 LinQ (10)
- vs2005或vs2008 (4)
- flash and as3 (7)
- fms (1)
- dedeCMS (11)
- java (33)
- j2me (1)
- swing (1)
- c++ (1)
- jquery easyui (3)
- jquery (5)
- android (29)
- MongoDB (9)
- VtigerCRM (1)
- test (0)
- linux (30)
- nutch (2)
- SqlServer数据库 (2)
- 数据检索 (2)
- java抓取 (11)
- 乐天 (1)
- 淘宝 (1)
- Silverlight4.0 (6)
- sphinx实时索引 (5)
- ecshop (9)
- codeigniter(CI) (3)
- axure6 (1)
- 京东店铺装修教程 (2)
- xpath (1)
- joomla (2)
- bpm (1)
- Bootstrap (2)
- knockout (4)
- ecstore (4)
- css3 (1)
- 微信 (2)
- dede (0)
- soa_edi (1)
- odoo (0)
- web (1)
最新评论
-
骑着蜗牛超F1:
在ie6下报了个stack overflow at line ...
兼容ie6和ie7 的16进制码流在html中显示为图片代码(base64) -
冰之海洋:
好像少了一句代码吧? FloatingFunc.show(th ...
android 一直在最前面的浮动窗口效果 -
yanzhoupuzhang:
连接有问题!
iis7.0官方下载 IIS 7.0(微软Web服务器组件IIS 7.0) 官方(windows 2003,XP,2000) -
whatable:
唉,楼主你都没有搞清楚重量级和轻量级。。。。既然引用了SWT, ...
java swing 内置浏览器打开网页显示flash图表-swt Browser应用 -
yy_owen:
我晕啊,你链接的什么内容额,我要的iis,你链接个视频什么意思 ...
iis7.0官方下载 IIS 7.0(微软Web服务器组件IIS 7.0) 官方(windows 2003,XP,2000)
不得不再次给关注 dlinq的朋友道歉了。好久都没有更新 blog了。因为工作的变动,还要赶期限,没有时间关注这里了。
先发布一则消息。 Orcas Beta1, 这个才是 beta1,可以到 http://www.microsoft.com/downloads/details.aspx?FamilyID=f10fb5df-e369-4db4-b9a7-845dbf793368&DisplayLang=en 下载。 5月 1号的版本。最早 4月 19号就出来过一个,只是没有在意。还有一个 http://www.microsoft.com/downloads/details.aspx?FamilyID=36b6609e-6f3d-40f4-8c7d-ad111679d8dc&DisplayLang=en
http://www.my400800.cn 。 一个是 self-extracting 版本的,一个是 Virtual PC version的。不知道什么区别。没有装过。
本节舍去原来的计划,而改讲映射工具。在入门三一文中,我们提到了 sqlmetal这个工具。 http://www.cnblogs.com/126/archive/2006/09/06/492332.html sqlmetal的功能是将数据库的信息抽提出来,生成映射代码。 Orcas还有另外一个工具,就是 O/R Designer.
先讲 sqlmetal. 自上次的版本后, sqlmetal,又增加了一些新的功能。比如,支持 SQLCE版本的 Sql Server, 支持直接输入 connection string, 等等。 这是 sqlmetal的帮助信息,是不是比上次多了很多?
Microsoft (R) Database Mapping Generator 2008 Beta 2 version 1.00.20612 for Microsoft (R) .NET Framework version 3.5 Copyright (C) Microsoft Corporation. All rights reserved. SqlMetal [options] [<input file>] Generates code and mapping for the LINQ to SQL component of the .NET framework. SqlMetal can: - Generate source code and mapping attributes or a mapping file from a database. - Generate an intermediate dbml file for customization from the database. - Generate code and mapping attributes or mapping file from a dbml file. Options: /server:<name> Database server name. /database:<name> Database catalog on server. /user:<name> Login user ID (default: use Windows Authentication). /password:<password> Login password (default: use Windows Authentication). /conn:<connection string> Database connection string. Cannot be used with /server, /database, /us er or /password options. /timeout:<seconds> Timeout value to use when SqlMetal accesses the database (default: 0 wh ich means infinite). /views Extract database views. /functions Extract database functions. /sprocs Extract stored procedures. /dbml[:file] Output as dbml. Cannot be used with /map option. /code[:file] Output as source code. Cannot be used with /dbml option. /map[:file] Generate mapping file, not attributes. Cannot be used with /dbml option . /language:<language> Language for source code: VB or C# (default: derived from extension on code file name). /namespace:<name> Namespace of generated code (default: no namespace). /context:<type> Name of data context class (default: derived from database name). /entitybase:<type> Base class of entity classes in the generated code (default: entities have no base class). /pluralize Automatically pluralize or singularize class and member names using English language rules. /serialization:<option> Generate serializable classes: None or Unidirectional (default: None). /provider:<type> Provider type (default: provider is determined at run time). <input file> May be a SqlExpress mdf file, a SqlCE sdf file, or a dbml intermediate file. Create code from SqlServer: SqlMetal /server:myserver /database:northwind /code:nwind.cs /namespace:nwind Generate intermediate dbml file from SqlServer: SqlMetal /server:myserver /database:northwind /dbml:northwind.dbml /namespace:nwind Generate code with external mapping from dbml: SqlMetal /code:nwind.cs /map:nwind.map northwind.dbml Generate dbml from a SqlCE sdf file: SqlMetal /dbml:northwind.dbml northwind.sdf Generate dbml from SqlExpress local server: SqlMetal /server:.\sqlexpress /database:northwind /dbml:northwind.dbml Generate dbml by using a connection string in the command line: SqlMetal /conn:"server='myserver'; database='northwind'" /dbml:northwind.dbml
因为
sqlmetal已经讲过,不再多讲,大家知道它是个命令行的工具,用来做映射数据库信息的,会使用就可以。
再接着讲
O/R
Designer. 新建任一工程。右击工程,选择
add->new item.
如图所示:
弹出
item
对话框,
category
中选择
data,
然后选择
Linq to Sql Class
,
如图所示:
选择添加。这样,你的工程就多了一个
O/R
Desiger项目。
在菜单
View->Sever Explore
打开
Sever Explore,添加一个
Data Connection,
如图所示:
后,填写数据库服务器,用户名,密码和数据库名。如果,你没有,你可以使用
Sql Express
版本。添加之后的效果,如图所示:
打开刚才添加的
DataClasses1.dbml 文件,将
Sever
Explore中的
Customer
表或
view拖入
Designer中来,如图所示:
也可以将
Store procedure
和
User define function
拖进来,会在方法面板上形成方法。如图所示:
如果,两个表之间有关系,
OR
Designer可以显示它们的关系,将
Order表和
OderDetail表拖入
如图所示:
打开
DataClasses1. Designer.cs
文件,你就可以看到
OR Designer
给你产生的映射代码了。
using System.Data.Linq; using System.Data.Linq.Mapping; using System.Data; using System.Collections.Generic; using System.Reflection; using System.Linq; using System.Linq.Expressions; using System.ComponentModel; using System; [System.Data.Linq.Mapping.DatabaseAttribute(Name="northwind_may06ctp")] public partial class DataClasses1DataContext : System.Data.Linq.DataContext { private static System.Data.Linq.Mapping.MappingSource mappingSource = new AttributeMappingSource(); Extensibility Method Definitions#region Extensibility Method Definitions partial void OnCreated(); partial void InsertOrder(Order instance); partial void UpdateOrder(Order instance); partial void DeleteOrder(Order instance); partial void InsertOrder_Detail(Order_Detail instance); partial void UpdateOrder_Detail(Order_Detail instance); partial void DeleteOrder_Detail(Order_Detail instance); #endregion static DataClasses1DataContext() { } public DataClasses1DataContext(string connection) : base(connection, mappingSource) { OnCreated(); } public DataClasses1DataContext(System.Data.IDbConnection connection) : base(connection, mappingSource) { OnCreated(); } public DataClasses1DataContext(string connection, System.Data.Linq.Mapping.MappingSource mappingSource) : base(connection, mappingSource) { OnCreated(); } public DataClasses1DataContext(System.Data.IDbConnection connection, System.Data.Linq.Mapping.MappingSource mappingSource) : base(connection, mappingSource) { OnCreated(); } public DataClasses1DataContext() : base(global::SqlMetalUtil.Properties.Settings.Default.northwind_may06ctpConnectionString, mappingSource) { OnCreated(); } public System.Data.Linq.Table<Order> Orders { get { return this.GetTable<Order>(); } } public System.Data.Linq.Table<Order_Detail> Order_Details { get { return this.GetTable<Order_Detail>(); } } [Function(Name="dbo.CategoriesInsert")] public int CategoriesInsert([Parameter(Name="@CategoryID", DbType="int")] System.Nullable<int> CategoryID, [Parameter(Name="@CategoryName", DbType="nvarchar")] string CategoryName, [Parameter(Name="@Description", DbType="ntext")] string Description, [Parameter(Name="@Picture", DbType="image")] byte[] Picture) { IExecuteResult result = this.ExecuteMethodCall(this, ((MethodInfo)(MethodInfo.GetCurrentMethod())), CategoryID, CategoryName, Description, Picture); return ((int)(result.ReturnValue)); } } [Table(Name="dbo.Orders")] public partial class Order : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private int _OrderID; private string _CustomerID; private System.Nullable<int> _EmployeeID; private System.Nullable<System.DateTime> _OrderDate; private System.Nullable<System.DateTime> _RequiredDate; private System.Nullable<System.DateTime> _ShippedDate; private System.Nullable<int> _ShipVia; private System.Nullable<decimal> _Freight; private string _ShipName; private string _ShipAddress; private string _ShipCity; private string _ShipRegion; private string _ShipPostalCode; private string _ShipCountry; private EntitySet<Order_Detail> _Order_Details; Extensibility Method Definitions#region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(); partial void OnCreated(); partial void OnOrderIDChanging(int value); partial void OnOrderIDChanged(); partial void OnCustomerIDChanging(string value); partial void OnCustomerIDChanged(); partial void OnEmployeeIDChanging(System.Nullable<int> value); partial void OnEmployeeIDChanged(); partial void OnOrderDateChanging(System.Nullable<System.DateTime> value); partial void OnOrderDateChanged(); partial void OnRequiredDateChanging(System.Nullable<System.DateTime> value); partial void OnRequiredDateChanged(); partial void OnShippedDateChanging(System.Nullable<System.DateTime> value); partial void OnShippedDateChanged(); partial void OnShipViaChanging(System.Nullable<int> value); partial void OnShipViaChanged(); partial void OnFreightChanging(System.Nullable<decimal> value); partial void OnFreightChanged(); partial void OnShipNameChanging(string value); partial void OnShipNameChanged(); partial void OnShipAddressChanging(string value); partial void OnShipAddressChanged(); partial void OnShipCityChanging(string value); partial void OnShipCityChanged(); partial void OnShipRegionChanging(string value); partial void OnShipRegionChanged(); partial void OnShipPostalCodeChanging(string value); partial void OnShipPostalCodeChanged(); partial void OnShipCountryChanging(string value); partial void OnShipCountryChanged(); #endregion public Order() { OnCreated(); this._Order_Details = new EntitySet<Order_Detail>(new Action<Order_Detail>(this.attach_Order_Details), new Action<Order_Detail>(this.detach_Order_Details)); } [Column(Storage="_OrderID", AutoSync=AutoSync.OnInsert, DbType="Int NOT NULL IDENTITY", IsPrimaryKey=true, IsDbGenerated=true)] public int OrderID { get { return this._OrderID; } set { if ((this._OrderID != value)) { this.OnOrderIDChanging(value); this.SendPropertyChanging(); this._OrderID = value; this.SendPropertyChanged("OrderID"); this.OnOrderIDChanged(); } } } [Column(Storage="_CustomerID", DbType="NChar(5)")] public string CustomerID { get { return this._CustomerID; } set { if ((this._CustomerID != value)) { this.OnCustomerIDChanging(value); this.SendPropertyChanging(); this._CustomerID = value; this.SendPropertyChanged("CustomerID"); this.OnCustomerIDChanged(); } } } [Column(Storage="_EmployeeID", DbType="Int")] public System.Nullable<int> EmployeeID { get { return this._EmployeeID; } set { if ((this._EmployeeID != value)) { this.OnEmployeeIDChanging(value); this.SendPropertyChanging(); this._EmployeeID = value; this.SendPropertyChanged("EmployeeID"); this.OnEmployeeIDChanged(); } } } [Column(Storage="_OrderDate", DbType="DateTime")] public System.Nullable<System.DateTime> OrderDate { get { return this._OrderDate; } set { if ((this._OrderDate != value)) { this.OnOrderDateChanging(value); this.SendPropertyChanging(); this._OrderDate = value; this.SendPropertyChanged("OrderDate"); this.OnOrderDateChanged(); } } } [Column(Storage="_RequiredDate", DbType="DateTime")] public System.Nullable<System.DateTime> RequiredDate { get { return this._RequiredDate; } set { if ((this._RequiredDate != value)) { this.OnRequiredDateChanging(value); this.SendPropertyChanging(); this._RequiredDate = value; this.SendPropertyChanged("RequiredDate"); this.OnRequiredDateChanged(); } } } [Column(Storage="_ShippedDate", DbType="DateTime")] public System.Nullable<System.DateTime> ShippedDate { get { return this._ShippedDate; } set { if ((this._ShippedDate != value)) { this.OnShippedDateChanging(value); this.SendPropertyChanging(); this._ShippedDate = value; this.SendPropertyChanged("ShippedDate"); this.OnShippedDateChanged(); } } } [Column(Storage="_ShipVia", DbType="Int")] public System.Nullable<int> ShipVia { get { return this._ShipVia; } set { if ((this._ShipVia != value)) { this.OnShipViaChanging(value); this.SendPropertyChanging(); this._ShipVia = value; this.SendPropertyChanged("ShipVia"); this.OnShipViaChanged(); } } } [Column(Storage="_Freight", DbType="Money")] public System.Nullable<decimal> Freight { get { return this._Freight; } set { if ((this._Freight != value)) { this.OnFreightChanging(value); this.SendPropertyChanging(); this._Freight = value; this.SendPropertyChanged("Freight"); this.OnFreightChanged(); } } } [Column(Storage="_ShipName", DbType="NVarChar(40)")] public string ShipName { get { return this._ShipName; } set { if ((this._ShipName != value)) { this.OnShipNameChanging(value); this.SendPropertyChanging(); this._ShipName = value; this.SendPropertyChanged("ShipName"); this.OnShipNameChanged(); } } } [Column(Storage="_ShipAddress", DbType="NVarChar(60)")] public string ShipAddress { get { return this._ShipAddress; } set { if ((this._ShipAddress != value)) { this.OnShipAddressChanging(value); this.SendPropertyChanging(); this._ShipAddress = value; this.SendPropertyChanged("ShipAddress"); this.OnShipAddressChanged(); } } } [Column(Storage="_ShipCity", DbType="NVarChar(15)")] public string ShipCity { get { return this._ShipCity; } set { if ((this._ShipCity != value)) { this.OnShipCityChanging(value); this.SendPropertyChanging(); this._ShipCity = value; this.SendPropertyChanged("ShipCity"); this.OnShipCityChanged(); } } } [Column(Storage="_ShipRegion", DbType="NVarChar(15)")] public string ShipRegion { get { return this._ShipRegion; } set { if ((this._ShipRegion != value)) { this.OnShipRegionChanging(value); this.SendPropertyChanging(); this._ShipRegion = value; this.SendPropertyChanged("ShipRegion"); this.OnShipRegionChanged(); } } } [Column(Storage="_ShipPostalCode", DbType="NVarChar(10)")] public string ShipPostalCode { get { return this._ShipPostalCode; } set { if ((this._ShipPostalCode != value)) { this.OnShipPostalCodeChanging(value); this.SendPropertyChanging(); this._ShipPostalCode = value; this.SendPropertyChanged("ShipPostalCode"); this.OnShipPostalCodeChanged(); } } } [Column(Storage="_ShipCountry", DbType="NVarChar(15)")] public string ShipCountry { get { return this._ShipCountry; } set { if ((this._ShipCountry != value)) { this.OnShipCountryChanging(value); this.SendPropertyChanging(); this._ShipCountry = value; this.SendPropertyChanged("ShipCountry"); this.OnShipCountryChanged(); } } } [Association(Name="Order_Order_Detail", Storage="_Order_Details", OtherKey="OrderID")] public EntitySet<Order_Detail> Order_Details { get { return this._Order_Details; } set { this._Order_Details.Assign(value); } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } private void attach_Order_Details(Order_Detail entity) { this.SendPropertyChanging(); entity.Order = this; this.SendPropertyChanged("Order_Details"); } private void detach_Order_Details(Order_Detail entity) { this.SendPropertyChanging(); entity.Order = null; this.SendPropertyChanged("Order_Details"); } } [Table(Name="dbo.[Order Details]")] public partial class Order_Detail : INotifyPropertyChanging, INotifyPropertyChanged { private static PropertyChangingEventArgs emptyChangingEventArgs = new PropertyChangingEventArgs(String.Empty); private int _OrderID; private int _ProductID; private decimal _UnitPrice; private short _Quantity; private float _Discount; private EntityRef<Order> _Order; Extensibility Method Definitions#region Extensibility Method Definitions partial void OnLoaded(); partial void OnValidate(); partial void OnCreated(); partial void OnOrderIDChanging(int value); partial void OnOrderIDChanged(); partial void OnProductIDChanging(int value); partial void OnProductIDChanged(); partial void OnUnitPriceChanging(decimal value); partial void OnUnitPriceChanged(); partial void OnQuantityChanging(short value); partial void OnQuantityChanged(); partial void OnDiscountChanging(float value); partial void OnDiscountChanged(); #endregion public Order_Detail() { OnCreated(); this._Order = default(EntityRef<Order>); } [Column(Storage="_OrderID", DbType="Int NOT NULL", IsPrimaryKey=true)] public int OrderID { get { return this._OrderID; } set { if ((this._OrderID != value)) { if (this._Order.HasLoadedOrAssignedValue) { throw new System.Data.Linq.ForeignKeyReferenceAlreadyHasValueException(); } this.OnOrderIDChanging(value); this.SendPropertyChanging(); this._OrderID = value; this.SendPropertyChanged("OrderID"); this.OnOrderIDChanged(); } } } [Column(Storage="_ProductID", DbType="Int NOT NULL", IsPrimaryKey=true)] public int ProductID { get { return this._ProductID; } set { if ((this._ProductID != value)) { this.OnProductIDChanging(value); this.SendPropertyChanging(); this._ProductID = value; this.SendPropertyChanged("ProductID"); this.OnProductIDChanged(); } } } [Column(Storage="_UnitPrice", DbType="Money NOT NULL")] public decimal UnitPrice { get { return this._UnitPrice; } set { if ((this._UnitPrice != value)) { this.OnUnitPriceChanging(value); this.SendPropertyChanging(); this._UnitPrice = value; this.SendPropertyChanged("UnitPrice"); this.OnUnitPriceChanged(); } } } [Column(Storage="_Quantity", DbType="SmallInt NOT NULL")] public short Quantity { get { return this._Quantity; } set { if ((this._Quantity != value)) { this.OnQuantityChanging(value); this.SendPropertyChanging(); this._Quantity = value; this.SendPropertyChanged("Quantity"); this.OnQuantityChanged(); } } } [Column(Storage="_Discount", DbType="Real NOT NULL")] public float Discount { get { return this._Discount; } set { if ((this._Discount != value)) { this.OnDiscountChanging(value); this.SendPropertyChanging(); this._Discount = value; this.SendPropertyChanged("Discount"); this.OnDiscountChanged(); } } } [Association(Name="Order_Order_Detail", Storage="_Order", ThisKey="OrderID", IsForeignKey=true)] public Order Order { get { return this._Order.Entity; } set { Order previousValue = this._Order.Entity; if (((previousValue != value) || (this._Order.HasLoadedOrAssignedValue == false))) { this.SendPropertyChanging(); if ((previousValue != null)) { this._Order.Entity = null; previousValue.Order_Details.Remove(this); } this._Order.Entity = value; if ((value != null)) { value.Order_Details.Add(this); this._OrderID = value.OrderID; } else { this._OrderID = default(int); } this.SendPropertyChanged("Order"); } } } public event PropertyChangingEventHandler PropertyChanging; public event PropertyChangedEventHandler PropertyChanged; protected virtual void SendPropertyChanging() { if ((this.PropertyChanging != null)) { this.PropertyChanging(this, emptyChangingEventArgs); } } protected virtual void SendPropertyChanged(String propertyName) { if ((this.PropertyChanged != null)) { this.PropertyChanged(this, new PropertyChangedEventArgs(propertyName)); } } }
本节介绍了O/R Designer的基本用法,下节讲一些比较高级的用法。O/R
Designer相对与sqlmetal的好处就可以设计类的继承关系(下节再讲),而sqlmetal 相对于O/R
Designer是可以一次性抽提所有表的信息,快速便捷。而且sqlmetal支持一些O/R
Designer无法支持的信息提取。
发表评论
-
ling to sql之查询语句
2011-03-23 10:59 1587select 描述:查询顾客的公司名、地址信息 查询 ... -
LINQ体验(7)――LINQ to SQL语句之Group By/Having和Exists/In/Any/All/Contains
2010-09-23 11:36 1243我们继续讲解LINQ to SQL语句,这篇我们来讨论Gro ... -
C#3.0入门系列(LingQ)(七)-GroupBy操作
2010-09-23 10:53 1211换一种写作风格。本节讲 groupby 操作。 ... -
C#3.0入门系列(LinQ)(六)-之OrderBy操作
2010-08-12 10:51 2049本节讲orderby 操作. ... -
C#3.0入门系列(LingQ)(五)-之Where操作
2010-08-12 10:48 1339从本节开始,本文正式更名为C#3.0 入门系列。先发布 ... -
C# 3.0入门系列(LinQ)(四)-之Select操作
2010-08-12 10:44 3215先给关注dlinq 的朋友们道歉,最近工作实在忙,没有 ... -
C# 3.0入门系列(LinQ)(三)
2010-08-12 10:37 1252从本节开始,笔者将会和大家一起开始体验dlinq 了。 ... -
C# 3.0 入门系列(linq)(二)
2010-08-12 10:32 1086在第一篇中,我已经和大家简单介绍了linq 。也和大家 ... -
C# 3.0 入门系列(linq)(一)
2010-08-12 10:24 1255谈到dlinq ,就不得不先说linq 。让我们先看 ...
相关推荐
1.版本:matlab2014/2019a/2021a 2.附赠案例数据可直接运行matlab程序。 3.代码特点:参数化编程、参数可方便更改、代码编程思路清晰、注释明细。 4.适用对象:计算机,电子信息工程、数学等专业的大学生课程设计、期末大作业和毕业设计。
android 源码学习. 资料部分来源于合法的互联网渠道收集和整理,供大家学习参考与交流。本人不对所涉及的版权问题或内容负法律责任。如有侵权,请通知本人删除。感谢CSDN官方提供大家交流的平台
libADLMIDI1-1.5.0-bp153.1.1.x86_64.rpm 是用于在 x86_64 架构的设备上安装的 RPM 包,具体功能如下: 名称:libADLMIDI1 版本:1.5.0 摘要:带有 OPL3 (YMF262) 模拟器的软件 MIDI 合成器库 许可证:GPL-3.0-only 和 LGPL-3.0-only 该库提供了一个基于 ADLMIDI 的软件 MIDI 合成器,它模拟了 OPL3 音源芯片(FM 合成)。它可以通过使用 ADLMIDI 库来实现多平台的 MIDI 播放和 OPL3 模拟。 该 RPM 包适用于 x86_64 架构,用于在相关设备上安装 libADLMIDI1 库文件。库文件包括: /usr/lib64/libADLMIDI.so.1 和 /usr/lib64/libADLMIDI.so.1.5.0:库文件 /usr/share/doc/packages/libADLMIDI1/AUTHORS、/usr/share/doc/packages/libADLMIDI1/README.md 等文档文件:文档文件
基于qt+C++实现u盘插拔检测.+源码,适合毕业设计、课程设计、项目开发。项目源码已经过严格测试,可以放心参考并在此基础上延申使用~ 基于qt+C++实现u盘插拔检测.+源码,适合毕业设计、课程设计、项目开发。项目源码已经过严格测试,可以放心参考并在此基础上延申使用~ 基于qt+C++实现u盘插拔检测.+源码,适合毕业设计、课程设计、项目开发。项目源码已经过严格测试,可以放心参考并在此基础上延申使用~ 基于qt+C++实现u盘插拔检测.+源码,适合毕业设计、课程设计、项目开发。项目源码已经过严格测试,可以放心参考并在此基础上延申使用~
Quectel_Product_Brochure_CN_V7.9.pdf
android 源码学习. 资料部分来源于合法的互联网渠道收集和整理,供大家学习参考与交流。本人不对所涉及的版权问题或内容负法律责任。如有侵权,请通知本人删除。感谢CSDN官方提供大家交流的平台
phpstudy
python入门
android 源码学习. 资料部分来源于合法的互联网渠道收集和整理,供大家学习参考与交流。本人不对所涉及的版权问题或内容负法律责任。如有侵权,请通知本人删除。感谢CSDN官方提供大家交流的平台
移动机器人机械臂的设计开题报告.doc
用法链接:https://menghui666.blog.csdn.net/article/details/137977678?spm=1001.2014.3001.5502 基于QT+C++开发的智能平台访客系统+源码,包含主界面、系统设置、警情查询、调试帮助、用户退出功能。 基于QT+C++开发的智能平台访客系统+源码,包含主界面、系统设置、警情查询、调试帮助、用户退出功能。 基于QT+C++开发的智能平台访客系统+源码,包含主界面、系统设置、警情查询、调试帮助、用户退出功能。
三菱机械臂校点说明.pptx
android 源码学习. 资料部分来源于合法的互联网渠道收集和整理,供大家学习参考与交流。本人不对所涉及的版权问题或内容负法律责任。如有侵权,请通知本人删除。感谢CSDN官方提供大家交流的平台
android 源码学习. 资料部分来源于合法的互联网渠道收集和整理,供大家学习参考与交流。本人不对所涉及的版权问题或内容负法律责任。如有侵权,请通知本人删除。感谢CSDN官方提供大家交流的平台
C语言诞生于美国的贝尔实验室,由丹尼斯·里奇(Dennis MacAlistair Ritchie)以肯尼斯·蓝·汤普森(Kenneth Lane Thompson)设计的B语言为基础发展而来,在它的主体设计完成后,汤普森和里奇用它完全重写了UNIX,且随着UNIX的发展,c语言也得到了不断的完善。为了利于C语言的全面推广,许多专家学者和硬件厂商联合组成了C语言标准委员会,并在之后的1989年,诞生了第一个完备的C标准,简称“C89”,也就是“ANSI C”,截至2020年,最新的C语言标准为2018年6月发布的“C18”。 [5] C语言之所以命名为C,是因为C语言源自Ken Thompson发明的B语言,而B语言则源自BCPL语言。 1967年,剑桥大学的Martin Richards对CPL语言进行了简化,于是产生了BCPL(Basic Combined Programming Language)语言。
python入门 单元测试和测试用例 Python标准库中的模块unittest提供了代码测试工具。 单元测试用于核实函数的某个防霾呢没有问题; 测试用例是一组单元测试,这些单元测试仪器一起核实函数在各种情形下的行为都符合要求。良好的测试用例考虑到了函数可能收到的各种收入,包含所有针对这些情形的测试。 全覆盖式测试用例包含一整套单元测试,涵盖了各种可能的函数使用方式。 对于大型项目,要实现全覆盖可能很难。通常,最初只要对针对代码的重要行为编写测试即可,等项目给广泛使用时再考虑全覆盖。 可通过的测试 创建测试用例的语法需要一段时间才能习惯,但测试用例创建后,再添加针对函数的单元测试就很简单了。要为函数编写测试用例,可先导入模块unittest以及要测试的函数,在创建一个继承unittest.TestCase的类,并编写一系列方法对函数行为的不同方面进行测试。 下面test_name_function.py一个只包含一个方法的测试用例,它检查函数get_formatted_name()在给定名和姓时能否正确的工作。
基于matlabbenders分解算法.zip
dsp工程设计讲座.ppt
Adams空间复杂机械臂动力学仿真研究.doc
【资源说明】 基于Android+OpenCV的车牌识别系统源码+使用文档+全部资料(优秀项目).zip基于Android+OpenCV的车牌识别系统源码+使用文档+全部资料(优秀项目).zip基于Android+OpenCV的车牌识别系统源码+使用文档+全部资料(优秀项目).zip 【备注】 1、该项目是个人高分毕业设计项目源码,已获导师指导认可通过,答辩评审分达到95分 2、该资源内项目代码都经过测试运行成功,功能ok的情况下才上传的,请放心下载使用! 3、本项目适合计算机相关专业(如软件工程、计科、人工智能、通信工程、自动化、电子信息等)的在校学生、老师或者企业员工下载使用,也可作为毕业设计、课程设计、作业、项目初期立项演示等,当然也适合小白学习进阶。 4、如果基础还行,可以在此代码基础上进行修改,以实现其他功能,也可直接用于毕设、课设、作业等。 欢迎下载,沟通交流,互相学习,共同进步!