本文整理汇总了C#中MapToMeta类的典型用法代码示例。如果您正苦于以下问题:C# MapToMeta类的具体用法?C# MapToMeta怎么用?C# MapToMeta使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
MapToMeta类属于命名空间,在下文中一共展示了MapToMeta类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: RegisterDelegateesSybase
static private int RegisterDelegateesSybase()
{
// This is only executed once per the life of the application
lock (typeof(CustomerCustomerDemoMetadata))
{
if(CustomerCustomerDemoMetadata.mapDelegates == null)
{
CustomerCustomerDemoMetadata.mapDelegates = new Dictionary<string,MapToMeta>();
}
if (CustomerCustomerDemoMetadata.meta == null)
{
CustomerCustomerDemoMetadata.meta = new CustomerCustomerDemoMetadata();
}
MapToMeta mapMethod = new MapToMeta(meta.esSybase);
mapDelegates.Add("esSybase", mapMethod);
mapMethod("esSybase");
}
return 0;
}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:21,代码来源:CustomerCustomerDemoMetadataesSybase.cs
示例2: RegisterDelegateesAccess
static private int RegisterDelegateesAccess()
{
// This is only executed once per the life of the application
lock (typeof(ProductMetadata))
{
if(ProductMetadata.mapDelegates == null)
{
ProductMetadata.mapDelegates = new Dictionary<string,MapToMeta>();
}
if (ProductMetadata.meta == null)
{
ProductMetadata.meta = new ProductMetadata();
}
MapToMeta mapMethod = new MapToMeta(meta.esAccess);
mapDelegates.Add("esAccess", mapMethod);
mapMethod("esAccess");
}
return 0;
}
示例3: RegisterDelegateesVistaDB4
static private int RegisterDelegateesVistaDB4()
{
// This is only executed once per the life of the application
lock (typeof(ConcurrencyTestMetadata))
{
if(ConcurrencyTestMetadata.mapDelegates == null)
{
ConcurrencyTestMetadata.mapDelegates = new Dictionary<string,MapToMeta>();
}
if (ConcurrencyTestMetadata.meta == null)
{
ConcurrencyTestMetadata.meta = new ConcurrencyTestMetadata();
}
MapToMeta mapMethod = new MapToMeta(meta.esVistaDB4);
mapDelegates.Add("esVistaDB4", mapMethod);
mapMethod("esVistaDB4");
}
return 0;
}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:21,代码来源:ConcurrencyTestMetadataesVistaDB4.cs
示例4: RegisterDelegateesMySQL
static private int RegisterDelegateesMySQL()
{
// This is only executed once per the life of the application
lock (typeof(OrderDetailsMetadata))
{
if(OrderDetailsMetadata.mapDelegates == null)
{
OrderDetailsMetadata.mapDelegates = new Dictionary<string,MapToMeta>();
}
if (OrderDetailsMetadata.meta == null)
{
OrderDetailsMetadata.meta = new OrderDetailsMetadata();
}
MapToMeta mapMethod = new MapToMeta(meta.esMySQL);
mapDelegates.Add("esMySQL", mapMethod);
mapMethod("esMySQL");
}
return 0;
}
示例5: RegisterDelegateesSqlCe4
static private int RegisterDelegateesSqlCe4()
{
// This is only executed once per the life of the application
lock (typeof(TerritoryMetadata))
{
if(TerritoryMetadata.mapDelegates == null)
{
TerritoryMetadata.mapDelegates = new Dictionary<string,MapToMeta>();
}
if (TerritoryMetadata.meta == null)
{
TerritoryMetadata.meta = new TerritoryMetadata();
}
MapToMeta mapMethod = new MapToMeta(meta.esSqlCe4);
mapDelegates.Add("esSqlCe4", mapMethod);
mapMethod("esSqlCe4");
}
return 0;
}
示例6: RegisterDelegateesPgsql
static private int RegisterDelegateesPgsql()
{
// This is only executed once per the life of the application
lock (typeof(ReferredEmployeeMetadata))
{
if(ReferredEmployeeMetadata.mapDelegates == null)
{
ReferredEmployeeMetadata.mapDelegates = new Dictionary<string,MapToMeta>();
}
if (ReferredEmployeeMetadata.meta == null)
{
ReferredEmployeeMetadata.meta = new ReferredEmployeeMetadata();
}
MapToMeta mapMethod = new MapToMeta(meta.esPgsql);
mapDelegates.Add("esPgsql", mapMethod);
mapMethod("esPgsql");
}
return 0;
}
示例7: RegisterDelegateesOracle
static private int RegisterDelegateesOracle()
{
// This is only executed once per the life of the application
lock (typeof(DefaultTestMetadata))
{
if(DefaultTestMetadata.mapDelegates == null)
{
DefaultTestMetadata.mapDelegates = new Dictionary<string,MapToMeta>();
}
if (DefaultTestMetadata.meta == null)
{
DefaultTestMetadata.meta = new DefaultTestMetadata();
}
MapToMeta mapMethod = new MapToMeta(meta.esOracle);
mapDelegates.Add("esOracle", mapMethod);
mapMethod("esOracle");
}
return 0;
}
示例8: RegisterDelegateesSQLite
static private int RegisterDelegateesSQLite()
{
// This is only executed once per the life of the application
lock (typeof(EmployeeTerritoriesMetadata))
{
if(EmployeeTerritoriesMetadata.mapDelegates == null)
{
EmployeeTerritoriesMetadata.mapDelegates = new Dictionary<string,MapToMeta>();
}
if (EmployeeTerritoriesMetadata.meta == null)
{
EmployeeTerritoriesMetadata.meta = new EmployeeTerritoriesMetadata();
}
MapToMeta mapMethod = new MapToMeta(meta.esSQLite);
mapDelegates.Add("esSQLite", mapMethod);
mapMethod("esSQLite");
}
return 0;
}
开发者ID:stacyjeptha,项目名称:EntitySpaces-CompleteSource,代码行数:21,代码来源:EmployeeTerritoriesMetadataesSQLite.cs