Пример #1
0
        public static IEntityTypeMappingRegistry <CustomerIntelligenceSubDomain> CreateCustomerIntelligenceContext()
        {
            var builder = new EntityTypeMappingRegistryBuilder();

            CustomerIntelligenceTypeMap.Invoke(builder);
            return(builder.Create <CustomerIntelligenceSubDomain>());
        }
Пример #2
0
        public static IEntityTypeMappingRegistry <FactsSubDomain> CreateFactsContext()
        {
            var builder = new EntityTypeMappingRegistryBuilder();

            FactsTypeMap.Invoke(builder);
            return(builder.Create <FactsSubDomain>());
        }
Пример #3
0
        public static IEntityTypeMappingRegistry <ErmSubDomain> CreateErmContext()
        {
            var builder = new EntityTypeMappingRegistryBuilder();

            ErmTypeMap.Invoke(builder);
            return(builder.Create <ErmSubDomain>());
        }