• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

C# Interfaces.esProviderSpecificMetadata类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了C#中EntitySpaces.Interfaces.esProviderSpecificMetadata的典型用法代码示例。如果您正苦于以下问题:C# esProviderSpecificMetadata类的具体用法?C# esProviderSpecificMetadata怎么用?C# esProviderSpecificMetadata使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



esProviderSpecificMetadata类属于EntitySpaces.Interfaces命名空间,在下文中一共展示了esProviderSpecificMetadata类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C#代码示例。

示例1: esVistaDB4

		private esProviderSpecificMetadata esVistaDB4(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("ShipperID", new esTypeMap("Int", "System.Int32"));
				meta.AddTypeMap("CompanyName", new esTypeMap("NVarChar", "System.String"));
				meta.AddTypeMap("Phone", new esTypeMap("NVarChar", "System.String"));				
				meta.Catalog = "Northwind.vdb4";
				
				meta.Source = "Shippers";
				meta.Destination = "Shippers";
				
				meta.spInsert = "proc_ShippersInsert";				
				meta.spUpdate = "proc_ShippersUpdate";		
				meta.spDelete = "proc_ShippersDelete";
				meta.spLoadAll = "proc_ShippersLoadAll";
				meta.spLoadByPrimaryKey = "proc_ShippersLoadByPrimaryKey";
				
				m_providerMetadataMaps["esVistaDB4"] = meta;
			}
			
			return m_providerMetadataMaps["esVistaDB4"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:26,代码来源:ShippersMetadataesVistaDB4.cs


示例2: esSQLite

		private esProviderSpecificMetadata esSQLite(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("Id", new esTypeMap("integer", "System.Int32"));
				meta.AddTypeMap("Name", new esTypeMap("varchar", "System.String"));
				meta.AddTypeMap("Parent", new esTypeMap("integer", "System.Int32"));
				meta.AddTypeMap("ConcurrencyCheck", new esTypeMap("integer", "System.Int32"));
				meta.AddTypeMap("DefaultTest", new esTypeMap("datetime", "System.DateTime"));
				meta.AddTypeMap("ColumnA", new esTypeMap("integer", "System.Int32"));
				meta.AddTypeMap("ColumnB", new esTypeMap("integer", "System.Int32"));
				meta.AddTypeMap("ComputedAB", new esTypeMap("integer", "System.Int32"));				
				meta.Catalog = "main";
				
				meta.Source = "ConcurrencyTestChild";
				meta.Destination = "ConcurrencyTestChild";
				
				meta.spInsert = "proc_ConcurrencyTestChildInsert";				
				meta.spUpdate = "proc_ConcurrencyTestChildUpdate";		
				meta.spDelete = "proc_ConcurrencyTestChildDelete";
				meta.spLoadAll = "proc_ConcurrencyTestChildLoadAll";
				meta.spLoadByPrimaryKey = "proc_ConcurrencyTestChildLoadByPrimaryKey";
				
				m_providerMetadataMaps["esSQLite"] = meta;
			}
			
			return m_providerMetadataMaps["esSQLite"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:31,代码来源:ConcurrencyTestChildMetadataesSQLite.cs


示例3: esOracle

		private esProviderSpecificMetadata esOracle(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("OrderID", new esTypeMap("NUMBER", "System.Decimal"));
				meta.AddTypeMap("CustID", new esTypeMap("CHAR", "System.String"));
				meta.AddTypeMap("CustSub", new esTypeMap("CHAR", "System.String"));
				meta.AddTypeMap("PlacedBy", new esTypeMap("VARCHAR2", "System.String"));
				meta.AddTypeMap("OrderDate", new esTypeMap("TIMESTAMP", "System.DateTime"));
				meta.AddTypeMap("ConcurrencyCheck", new esTypeMap("NUMBER", "System.Decimal"));
				meta.AddTypeMap("EmployeeID", new esTypeMap("NUMBER", "System.Decimal"));
				meta["AutoKeyText"] = "seq_Order";				
				meta.Catalog = "HIERARCHICAL";
				meta.Schema = "HIERARCHICAL";
				meta.Source = "Order";
				meta.Destination = "Order";
				
				meta.spInsert = "esOrderInsert";				
				meta.spUpdate = "esOrderUpdate";		
				meta.spDelete = "esOrderDelete";
				meta.spLoadAll = "esOrderLoadAll";
				meta.spLoadByPrimaryKey = "esOrderLoadByPK";
				
				m_providerMetadataMaps["esOracle"] = meta;
			}
			
			return m_providerMetadataMaps["esOracle"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:31,代码来源:OrderMetadataesOracle.cs


示例4: esMySQL

		private esProviderSpecificMetadata esMySQL(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("OrderID", new esTypeMap("INT", "System.Int32"));
				meta.AddTypeMap("ProductID", new esTypeMap("INT", "System.Int32"));
				meta.AddTypeMap("UnitPrice", new esTypeMap("DECIMAL", "System.Decimal"));
				meta.AddTypeMap("Quantity", new esTypeMap("SMALLINT", "System.Int16"));
				meta.AddTypeMap("Discount", new esTypeMap("DOUBLE", "System.Double"));				
				meta.Catalog = "northwind";
				
				meta.Source = "order details";
				meta.Destination = "order details";
				
				meta.spInsert = "proc_order detailsInsert";				
				meta.spUpdate = "proc_order detailsUpdate";		
				meta.spDelete = "proc_order detailsDelete";
				meta.spLoadAll = "proc_order detailsLoadAll";
				meta.spLoadByPrimaryKey = "proc_order detailsLoadByPrimaryKey";
				
				m_providerMetadataMaps["esMySQL"] = meta;
			}
			
			return m_providerMetadataMaps["esMySQL"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:28,代码来源:OrderDetailsMetadataesMySQL.cs


示例5: esPgsql

		private esProviderSpecificMetadata esPgsql(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("EmployeeID", new esTypeMap("int8", "System.Int64"));
				meta.AddTypeMap("ReferredID", new esTypeMap("int8", "System.Int64"));				
				meta.Catalog = "ForeignKeyTest";
				meta.Schema = "public";
				meta.Source = "ReferredEmployee";
				meta.Destination = "ReferredEmployee";
				
				meta.spInsert = "proc_ReferredEmployeeInsert";				
				meta.spUpdate = "proc_ReferredEmployeeUpdate";		
				meta.spDelete = "proc_ReferredEmployeeDelete";
				meta.spLoadAll = "proc_ReferredEmployeeLoadAll";
				meta.spLoadByPrimaryKey = "proc_ReferredEmployeeLoadByPrimaryKey";
				
				m_providerMetadataMaps["esPgsql"] = meta;
			}
			
			return m_providerMetadataMaps["esPgsql"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:25,代码来源:ReferredEmployeeMetadataesPgsql.cs


示例6: esMySQL

		private esProviderSpecificMetadata esMySQL(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("Id", new esTypeMap("CHAR", "System.String"));
				meta.AddTypeMap("Name", new esTypeMap("VARCHAR", "System.String"));
				meta.AddTypeMap("ConcurrencyCheck", new esTypeMap("BIGINT", "System.Int64"));				
				meta.Catalog = "aggregatedb";
				
				meta.Source = "concurrencytest";
				meta.Destination = "concurrencytest";
				
				meta.spInsert = "proc_concurrencytestInsert";				
				meta.spUpdate = "proc_concurrencytestUpdate";		
				meta.spDelete = "proc_concurrencytestDelete";
				meta.spLoadAll = "proc_concurrencytestLoadAll";
				meta.spLoadByPrimaryKey = "proc_concurrencytestLoadByPrimaryKey";
				
				m_providerMetadataMaps["esMySQL"] = meta;
			}
			
			return m_providerMetadataMaps["esMySQL"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:26,代码来源:ConcurrencyTestMetadataesMySQL.cs


示例7: esOracle

		private esProviderSpecificMetadata esOracle(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("OrderID", new esTypeMap("NUMBER", "System.Decimal"));
				meta.AddTypeMap("ProductID", new esTypeMap("NUMBER", "System.Decimal"));
				meta.AddTypeMap("UnitPrice", new esTypeMap("NUMBER", "System.Decimal"));
				meta.AddTypeMap("Quantity", new esTypeMap("NUMBER", "System.Decimal"));
				meta.AddTypeMap("Discount", new esTypeMap("NUMBER", "System.Decimal"));				
				meta.Catalog = "HIERARCHICAL";
				meta.Schema = "HIERARCHICAL";
				meta.Source = "OrderItem";
				meta.Destination = "OrderItem";
				
				meta.spInsert = "esOrderItemInsert";				
				meta.spUpdate = "esOrderItemUpdate";		
				meta.spDelete = "esOrderItemDelete";
				meta.spLoadAll = "esOrderItemLoadAll";
				meta.spLoadByPrimaryKey = "esOrderItemLoadByPK";
				
				m_providerMetadataMaps["esOracle"] = meta;
			}
			
			return m_providerMetadataMaps["esOracle"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:28,代码来源:OrderItemMetadataesOracle.cs


示例8: esSqlCe

		private esProviderSpecificMetadata esSqlCe(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("Id", new esTypeMap("int", "System.Int32"));
				meta.AddTypeMap("DepartmentID", new esTypeMap("int", "System.Int32"));
				meta.AddTypeMap("FirstName", new esTypeMap("nvarchar", "System.String"));
				meta.AddTypeMap("LastName", new esTypeMap("nvarchar", "System.String"));
				meta.AddTypeMap("Age", new esTypeMap("int", "System.Int32"));
				meta.AddTypeMap("HireDate", new esTypeMap("datetime", "System.DateTime"));
				meta.AddTypeMap("Salary", new esTypeMap("numeric", "System.Decimal"));
				meta.AddTypeMap("IsActive", new esTypeMap("bit", "System.Boolean"));				
				meta.Catalog = "AggregateDb.sdf";
				
				meta.Source = "AggregateTest";
				meta.Destination = "AggregateTest";
				
				meta.spInsert = "proc_AggregateTestInsert";				
				meta.spUpdate = "proc_AggregateTestUpdate";		
				meta.spDelete = "proc_AggregateTestDelete";
				meta.spLoadAll = "proc_AggregateTestLoadAll";
				meta.spLoadByPrimaryKey = "proc_AggregateTestLoadByPrimaryKey";
				
				m_providerMetadataMaps["esSqlCe"] = meta;
			}
			
			return m_providerMetadataMaps["esSqlCe"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:31,代码来源:AggregateTestMetadataesSqlCe.cs


示例9: esAccess

		private esProviderSpecificMetadata esAccess(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("TerritoryID", new esTypeMap("Long", "System.Int32"));
				meta.AddTypeMap("Notes", new esTypeMap("Text", "System.String"));				
				meta.Catalog = "ForeignKeyTest.mdb";
				
				meta.Source = "TerritoryEx";
				meta.Destination = "TerritoryEx";
				
				meta.spInsert = "proc_TerritoryExInsert";				
				meta.spUpdate = "proc_TerritoryExUpdate";		
				meta.spDelete = "proc_TerritoryExDelete";
				meta.spLoadAll = "proc_TerritoryExLoadAll";
				meta.spLoadByPrimaryKey = "proc_TerritoryExLoadByPrimaryKey";
				
				m_providerMetadataMaps["esAccess"] = meta;
			}
			
			return m_providerMetadataMaps["esAccess"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:25,代码来源:TerritoryExMetadataesAccess.cs


示例10: esSqlCe4

		private esProviderSpecificMetadata esSqlCe4(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("ProductID", new esTypeMap("int", "System.Int32"));
				meta.AddTypeMap("SupplierID", new esTypeMap("int", "System.Int32"));
				meta.AddTypeMap("CategoryID", new esTypeMap("int", "System.Int32"));
				meta.AddTypeMap("ProductName", new esTypeMap("nvarchar", "System.String"));
				meta.AddTypeMap("EnglishName", new esTypeMap("nvarchar", "System.String"));
				meta.AddTypeMap("QuantityPerUnit", new esTypeMap("nvarchar", "System.String"));
				meta.AddTypeMap("UnitPrice", new esTypeMap("money", "System.Decimal"));
				meta.AddTypeMap("UnitsInStock", new esTypeMap("smallint", "System.Int16"));
				meta.AddTypeMap("UnitsOnOrder", new esTypeMap("smallint", "System.Int16"));
				meta.AddTypeMap("ReorderLevel", new esTypeMap("smallint", "System.Int16"));
				meta.AddTypeMap("Discontinued", new esTypeMap("bit", "System.Boolean"));				
				meta.Catalog = "Northwind.sdf";
				
				meta.Source = "Products";
				meta.Destination = "Products";
				
				meta.spInsert = "proc_ProductsInsert";				
				meta.spUpdate = "proc_ProductsUpdate";		
				meta.spDelete = "proc_ProductsDelete";
				meta.spLoadAll = "proc_ProductsLoadAll";
				meta.spLoadByPrimaryKey = "proc_ProductsLoadByPrimaryKey";
				
				m_providerMetadataMaps["esSqlCe4"] = meta;
			}
			
			return m_providerMetadataMaps["esSqlCe4"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:34,代码来源:ProductsMetadataesSqlCe4.cs


示例11: esMySQL

		private esProviderSpecificMetadata esMySQL(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("EmployeeID", new esTypeMap("INT", "System.Int32"));
				meta.AddTypeMap("ReferredID", new esTypeMap("INT", "System.Int32"));				
				meta.Catalog = "foreignkeytest";
				
				meta.Source = "referredemployee";
				meta.Destination = "referredemployee";
				
				meta.spInsert = "proc_referredemployeeInsert";				
				meta.spUpdate = "proc_referredemployeeUpdate";		
				meta.spDelete = "proc_referredemployeeDelete";
				meta.spLoadAll = "proc_referredemployeeLoadAll";
				meta.spLoadByPrimaryKey = "proc_referredemployeeLoadByPrimaryKey";
				
				m_providerMetadataMaps["esMySQL"] = meta;
			}
			
			return m_providerMetadataMaps["esMySQL"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:25,代码来源:ReferredEmployeeMetadataesMySQL.cs


示例12: esSybase

		private esProviderSpecificMetadata esSybase(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("SupplierID", new esTypeMap("integer", "System.Int32"));
				meta.AddTypeMap("CompanyName", new esTypeMap("nvarchar", "System.String"));
				meta.AddTypeMap("ContactName", new esTypeMap("nvarchar", "System.String"));
				meta.AddTypeMap("ContactTitle", new esTypeMap("nvarchar", "System.String"));
				meta.AddTypeMap("Address", new esTypeMap("nvarchar", "System.String"));
				meta.AddTypeMap("City", new esTypeMap("nvarchar", "System.String"));
				meta.AddTypeMap("Region", new esTypeMap("nvarchar", "System.String"));
				meta.AddTypeMap("PostalCode", new esTypeMap("nvarchar", "System.String"));
				meta.AddTypeMap("Country", new esTypeMap("nvarchar", "System.String"));
				meta.AddTypeMap("Phone", new esTypeMap("nvarchar", "System.String"));
				meta.AddTypeMap("Fax", new esTypeMap("nvarchar", "System.String"));
				meta.AddTypeMap("HomePage", new esTypeMap("long nvarchar", "System.String"));				
				meta.Catalog = "Northwind";
				meta.Schema = "DBA";
				meta.Source = "Suppliers";
				meta.Destination = "Suppliers";
				
				meta.spInsert = "proc_SuppliersInsert";				
				meta.spUpdate = "proc_SuppliersUpdate";		
				meta.spDelete = "proc_SuppliersDelete";
				meta.spLoadAll = "proc_SuppliersLoadAll";
				meta.spLoadByPrimaryKey = "proc_SuppliersLoadByPrimaryKey";
				
				m_providerMetadataMaps["esSybase"] = meta;
			}
			
			return m_providerMetadataMaps["esSybase"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:35,代码来源:SuppliersMetadataesSybase.cs


示例13: esOracle

		private esProviderSpecificMetadata esOracle(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("TestId", new esTypeMap("NUMBER", "System.Decimal"));
				meta.AddTypeMap("DefaultNotNullInt", new esTypeMap("NUMBER", "System.Decimal"));
				meta.AddTypeMap("DefaultNotNullBool", new esTypeMap("NUMBER", "System.Decimal"));
				meta["AutoKeyText"] = "DEFAULTTEST_SEQ";				
				meta.Catalog = "ENTITYSPACES";
				meta.Schema = "ENTITYSPACES";
				meta.Source = "DefaultTest";
				meta.Destination = "DefaultTest";
				
				meta.spInsert = "esDefaultTestInsert";				
				meta.spUpdate = "esDefaultTestUpdate";		
				meta.spDelete = "esDefaultTestDelete";
				meta.spLoadAll = "esDefaultTestLoadAll";
				meta.spLoadByPrimaryKey = "esDefaultTestLoadByPK";
				
				m_providerMetadataMaps["esOracle"] = meta;
			}
			
			return m_providerMetadataMaps["esOracle"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:27,代码来源:DefaultTestMetadataesOracle.cs


示例14: esSybase

		private esProviderSpecificMetadata esSybase(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("FullName", new esTypeMap("varchar", "System.String"));
				meta.AddTypeMap("DepartmentID", new esTypeMap("integer", "System.Int32"));
				meta.AddTypeMap("HireDate", new esTypeMap("timestamp", "System.DateTime"));
				meta.AddTypeMap("Salary", new esTypeMap("numeric", "System.Decimal"));
				meta.AddTypeMap("IsActive", new esTypeMap("bit", "System.Boolean"));				
				meta.Catalog = "AggregateDB";
				meta.Schema = "DBA";
				meta.Source = "FullNameView";
				meta.Destination = "FullNameView";
				
				meta.spInsert = "proc_FullNameViewInsert";				
				meta.spUpdate = "proc_FullNameViewUpdate";		
				meta.spDelete = "proc_FullNameViewDelete";
				meta.spLoadAll = "proc_FullNameViewLoadAll";
				meta.spLoadByPrimaryKey = "proc_FullNameViewLoadByPrimaryKey";
				
				m_providerMetadataMaps["esSybase"] = meta;
			}
			
			return m_providerMetadataMaps["esSybase"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:28,代码来源:FullNameViewMetadataesSybase.cs


示例15: esPgsql

		private esProviderSpecificMetadata esPgsql(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("CustomerID", new esTypeMap("bpchar", "System.String"));
				meta.AddTypeMap("CustomerSub", new esTypeMap("bpchar", "System.String"));
				meta.AddTypeMap("CustomerName", new esTypeMap("varchar", "System.String"));
				meta.AddTypeMap("DateAdded", new esTypeMap("timestamp", "System.DateTime"));
				meta.AddTypeMap("Active", new esTypeMap("bool", "System.Boolean"));
				meta.AddTypeMap("ConcurrencyCheck", new esTypeMap("bytea", "System.Byte[]"));
				meta.AddTypeMap("Manager", new esTypeMap("int8", "System.Int64"));
				meta.AddTypeMap("StaffAssigned", new esTypeMap("int8", "System.Int64"));
				meta.AddTypeMap("UniqueID", new esTypeMap("bpchar", "System.String"));
				meta.AddTypeMap("Notes", new esTypeMap("text", "System.String"));
				meta.AddTypeMap("CreditLimit", new esTypeMap("numeric", "System.Decimal"));
				meta.AddTypeMap("Discount", new esTypeMap("numeric", "System.Decimal"));				
				meta.Catalog = "ForeignKeyTest";
				meta.Schema = "public";
				meta.Source = "Customer";
				meta.Destination = "Customer";
				
				meta.spInsert = "proc_CustomerInsert";				
				meta.spUpdate = "proc_CustomerUpdate";		
				meta.spDelete = "proc_CustomerDelete";
				meta.spLoadAll = "proc_CustomerLoadAll";
				meta.spLoadByPrimaryKey = "proc_CustomerLoadByPrimaryKey";
				
				m_providerMetadataMaps["esPgsql"] = meta;
			}
			
			return m_providerMetadataMaps["esPgsql"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:35,代码来源:CustomerMetadataesPgsql.cs


示例16: esSQLite

		private esProviderSpecificMetadata esSQLite(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("OrderID", new esTypeMap("integer", "System.Int32"));
				meta.AddTypeMap("CustID", new esTypeMap("char", "System.String"));
				meta.AddTypeMap("CustSub", new esTypeMap("char", "System.String"));
				meta.AddTypeMap("PlacedBy", new esTypeMap("varchar", "System.String"));
				meta.AddTypeMap("OrderDate", new esTypeMap("datetime", "System.DateTime"));
				meta.AddTypeMap("ConcurrencyCheck", new esTypeMap("blob", "System.Byte[]"));
				meta.AddTypeMap("EmployeeID", new esTypeMap("integer", "System.Int32"));				
				meta.Catalog = "main";
				
				meta.Source = "Order";
				meta.Destination = "Order";
				
				meta.spInsert = "proc_OrderInsert";				
				meta.spUpdate = "proc_OrderUpdate";		
				meta.spDelete = "proc_OrderDelete";
				meta.spLoadAll = "proc_OrderLoadAll";
				meta.spLoadByPrimaryKey = "proc_OrderLoadByPrimaryKey";
				
				m_providerMetadataMaps["esSQLite"] = meta;
			}
			
			return m_providerMetadataMaps["esSQLite"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:30,代码来源:OrderMetadataesSQLite.cs


示例17: esAccess

		private esProviderSpecificMetadata esAccess(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("ProductID", new esTypeMap("Long", "System.Int32"));
				meta.AddTypeMap("ProductName", new esTypeMap("Text", "System.String"));
				meta.AddTypeMap("SupplierID", new esTypeMap("Long", "System.Int32"));
				meta.AddTypeMap("CategoryID", new esTypeMap("Long", "System.Int32"));
				meta.AddTypeMap("QuantityPerUnit", new esTypeMap("Text", "System.String"));
				meta.AddTypeMap("UnitPrice", new esTypeMap("Currency", "System.Decimal"));
				meta.AddTypeMap("UnitsInStock", new esTypeMap("Integer", "System.Int16"));
				meta.AddTypeMap("UnitsOnOrder", new esTypeMap("Integer", "System.Int16"));
				meta.AddTypeMap("ReorderLevel", new esTypeMap("Integer", "System.Int16"));
				meta.AddTypeMap("Discontinued", new esTypeMap("Yes/No", "System.Boolean"));				
				meta.Catalog = "Northwind.mdb";
				
				meta.Source = "Products";
				meta.Destination = "Products";
				
				meta.spInsert = "proc_ProductsInsert";				
				meta.spUpdate = "proc_ProductsUpdate";		
				meta.spDelete = "proc_ProductsDelete";
				meta.spLoadAll = "proc_ProductsLoadAll";
				meta.spLoadByPrimaryKey = "proc_ProductsLoadByPrimaryKey";
				
				m_providerMetadataMaps["esAccess"] = meta;
			}
			
			return m_providerMetadataMaps["esAccess"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:33,代码来源:ProductsMetadataesAccess.cs


示例18: esSqlCe4

		private esProviderSpecificMetadata esSqlCe4(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("GroupID", new esTypeMap("nvarchar", "System.String"));
				meta.AddTypeMap("GroupName", new esTypeMap("nvarchar", "System.String"));				
				meta.Catalog = "ForeignKeyTest.sdf";
				
				meta.Source = "CustomerGroup";
				meta.Destination = "CustomerGroup";
				
				meta.spInsert = "proc_CustomerGroupInsert";				
				meta.spUpdate = "proc_CustomerGroupUpdate";		
				meta.spDelete = "proc_CustomerGroupDelete";
				meta.spLoadAll = "proc_CustomerGroupLoadAll";
				meta.spLoadByPrimaryKey = "proc_CustomerGroupLoadByPrimaryKey";
				
				m_providerMetadataMaps["esSqlCe4"] = meta;
			}
			
			return m_providerMetadataMaps["esSqlCe4"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:25,代码来源:CustomerGroupMetadataesSqlCe4.cs


示例19: esOracle

		private esProviderSpecificMetadata esOracle(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("Id", new esTypeMap("NUMBER", "System.Decimal"));
				meta.AddTypeMap("Name", new esTypeMap("NVARCHAR2", "System.String"));
				meta.AddTypeMap("Parent", new esTypeMap("NUMBER", "System.Decimal"));
				meta.AddTypeMap("ConcurrencyCheck", new esTypeMap("NUMBER", "System.Decimal"));
				meta.AddTypeMap("DefaultTest", new esTypeMap("TIMESTAMP", "System.DateTime"));
				meta.AddTypeMap("ColumnA", new esTypeMap("NUMBER", "System.Decimal"));
				meta.AddTypeMap("ColumnB", new esTypeMap("NUMBER", "System.Decimal"));
				meta.AddTypeMap("ColumnAB", new esTypeMap("NUMBER", "System.Decimal"));
				meta["AutoKeyText"] = "CHILD_SEQ";				
				meta.Catalog = "ENTITYSPACES";
				meta.Schema = "ENTITYSPACES";
				meta.Source = "ConcurrencyTestChild";
				meta.Destination = "ConcurrencyTestChild";
				
				meta.spInsert = "esConcurrencyTestChildInsert";				
				meta.spUpdate = "esConcurrencyTestChildUpdate";		
				meta.spDelete = "esConcurrencyTestChildDelete";
				meta.spLoadAll = "esConcurrencyTestChildLoadAll";
				meta.spLoadByPrimaryKey = "esConcurrencyTestChildLoadByPK";
				
				m_providerMetadataMaps["esOracle"] = meta;
			}
			
			return m_providerMetadataMaps["esOracle"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:32,代码来源:ConcurrencyTestChildMetadataesOracle.cs


示例20: esOracle

		private esProviderSpecificMetadata esOracle(string mapName)
		{
			if(!m_providerMetadataMaps.ContainsKey(mapName))
			{
				esProviderSpecificMetadata meta = new esProviderSpecificMetadata();	
				

				meta.AddTypeMap("Id", new esTypeMap("VARCHAR2", "System.String"));
				meta.AddTypeMap("XmlColumn", new esTypeMap("XMLTYPE", "System.String"));				
				meta.Catalog = "ENTITYSPACES";
				meta.Schema = "ENTITYSPACES";
				meta.Source = "OracleXmlTest";
				meta.Destination = "OracleXmlTest";
				
				meta.spInsert = "esOracleXmlTestInsert";				
				meta.spUpdate = "esOracleXmlTestUpdate";		
				meta.spDelete = "esOracleXmlTestDelete";
				meta.spLoadAll = "esOracleXmlTestLoadAll";
				meta.spLoadByPrimaryKey = "esOracleXmlTestLoadByPK";
				
				m_providerMetadataMaps["esOracle"] = meta;
			}
			
			return m_providerMetadataMaps["esOracle"];
		}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:25,代码来源:OracleXmlTestMetadataesOracle.cs



注:本文中的EntitySpaces.Interfaces.esProviderSpecificMetadata类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
C# Interfaces.esTransactionScope类代码示例发布时间:2022-05-24
下一篇:
C# Interfaces.esDataResponse类代码示例发布时间:2022-05-24
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap