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;	
		}		
		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;	
		}		
		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;	
		}		
		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;	
		}		
		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;	
		}		
		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;	
		}		
		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;	
		}		
		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;	
		}		
Example #9
0
        static private int RegisterDelegateesDefault()
        {
            // This is only executed once per the life of the application
            lock (typeof(EmployeesMetadata))
            {
                if (EmployeesMetadata.mapDelegates == null)
                {
                    EmployeesMetadata.mapDelegates = new Dictionary <string, MapToMeta>();
                }

                if (EmployeesMetadata.meta == null)
                {
                    EmployeesMetadata.meta = new EmployeesMetadata();
                }

                MapToMeta mapMethod = new MapToMeta(meta.tgDefault);
                mapDelegates.Add("tgDefault", mapMethod);
                mapMethod("tgDefault");
            }
            return(0);
        }
Example #10
0
        static private int RegisterDelegateesSQLite()
        {
            // This is only executed once per the life of the application
            lock (typeof(CustomersMetadata))
            {
                if (CustomersMetadata.mapDelegates == null)
                {
                    CustomersMetadata.mapDelegates = new Dictionary <string, MapToMeta>();
                }

                if (CustomersMetadata.meta == null)
                {
                    CustomersMetadata.meta = new CustomersMetadata();
                }

                MapToMeta mapMethod = new MapToMeta(meta.esSQLite);
                mapDelegates.Add("esSQLite", mapMethod);
                mapMethod("esSQLite");
            }
            return(0);
        }
Example #11
0
        static private int RegisterDelegateesMySQL()
        {
            // This is only executed once per the life of the application
            lock (typeof(Mysqltypetest2Metadata))
            {
                if (Mysqltypetest2Metadata.mapDelegates == null)
                {
                    Mysqltypetest2Metadata.mapDelegates = new Dictionary <string, MapToMeta>();
                }

                if (Mysqltypetest2Metadata.meta == null)
                {
                    Mysqltypetest2Metadata.meta = new Mysqltypetest2Metadata();
                }

                MapToMeta mapMethod = new MapToMeta(meta.esMySQL);
                mapDelegates.Add("esMySQL", mapMethod);
                mapMethod("esMySQL");
            }
            return(0);
        }
Example #12
0
        static private int RegisterDelegateesDefault()
        {
            // This is only executed once per the life of the application
            lock (typeof(ParentIdDataSourceComboBoxMetadata))
            {
                if (ParentIdDataSourceComboBoxMetadata.mapDelegates == null)
                {
                    ParentIdDataSourceComboBoxMetadata.mapDelegates = new Dictionary <string, MapToMeta>();
                }

                if (ParentIdDataSourceComboBoxMetadata.meta == null)
                {
                    ParentIdDataSourceComboBoxMetadata.meta = new ParentIdDataSourceComboBoxMetadata();
                }

                MapToMeta mapMethod = new MapToMeta(meta.esDefault);
                mapDelegates.Add("esDefault", mapMethod);
                mapMethod("esDefault");
            }
            return(0);
        }
        static private int RegisterDelegateesVistaDB4()
        {
            // This is only executed once per the life of the application
            lock (typeof(ConcurrencyTestChildMetadata))
            {
                if (ConcurrencyTestChildMetadata.mapDelegates == null)
                {
                    ConcurrencyTestChildMetadata.mapDelegates = new Dictionary <string, MapToMeta>();
                }

                if (ConcurrencyTestChildMetadata.meta == null)
                {
                    ConcurrencyTestChildMetadata.meta = new ConcurrencyTestChildMetadata();
                }

                MapToMeta mapMethod = new MapToMeta(meta.esVistaDB4);
                mapDelegates.Add("esVistaDB4", mapMethod);
                mapMethod("esVistaDB4");
            }
            return(0);
        }