protected override CDQMCustomerPersistent GetEntity(CDQMContext entityContext, int id)
        {
            var query = (from e in entityContext.Set <CDQMCustomerPersistent>()
                         where e.CUSTOMER_PERSISTENT_ID == id
                         select e);

            var results = query.FirstOrDefault();

            return(results);
        }
        protected override CDQMCustomerDuplicate GetEntity(CDQMContext entityContext, int id)
        {
            var query = (from e in entityContext.Set <CDQMCustomerDuplicate>()
                         where e.CUST_DUPLICATES_ID == id
                         select e);

            var results = query.FirstOrDefault();

            return(results);
        }
Exemple #3
0
        protected override CDQMCustomerMIS GetEntity(CDQMContext entityContext, int id)
        {
            var query = (from e in entityContext.Set <CDQMCustomerMIS>()
                         where e.CustomerMISId == id
                         select e);

            var results = query.FirstOrDefault();

            return(results);
        }
        protected override CDQMGenderGroup GetEntity(CDQMContext entityContext, int id)
        {
            var query = (from e in entityContext.Set <CDQMGenderGroup>()
                         where e.GenderGroupId == id
                         select e);

            var results = query.FirstOrDefault();

            return(results);
        }
Exemple #5
0
        protected override CDQMETLConfiguration GetEntity(CDQMContext entityContext, int id)
        {
            var query = (from e in entityContext.Set <CDQMETLConfiguration>()
                         where e.ETLConfigurationId == id
                         select e);

            var results = query.FirstOrDefault();

            return(results);
        }
 protected override IEnumerable <CDQMGenderGroup> GetEntities(CDQMContext entityContext)
 {
     return(from e in entityContext.Set <CDQMGenderGroup>()
            select e);
 }
 protected override CDQMGenderGroup UpdateEntity(CDQMContext entityContext, CDQMGenderGroup entity)
 {
     return((from e in entityContext.Set <CDQMGenderGroup>()
             where e.GenderGroupId == entity.GenderGroupId
             select e).FirstOrDefault());
 }
 protected override CDQMGenderGroup AddEntity(CDQMContext entityContext, CDQMGenderGroup entity)
 {
     return(entityContext.Set <CDQMGenderGroup>().Add(entity));
 }
 protected override CDQMTitle UpdateEntity(CDQMContext entityContext, CDQMTitle entity)
 {
     return((from e in entityContext.Set <CDQMTitle>()
             where e.TitleId == entity.TitleId
             select e).FirstOrDefault());
 }
 protected override CDQMCustomerPersistent UpdateEntity(CDQMContext entityContext, CDQMCustomerPersistent entity)
 {
     return((from e in entityContext.Set <CDQMCustomerPersistent>()
             where e.CUSTOMER_PERSISTENT_ID == entity.CUSTOMER_PERSISTENT_ID
             select e).FirstOrDefault());
 }
Exemple #11
0
 protected override CDQMETLConfiguration UpdateEntity(CDQMContext entityContext, CDQMETLConfiguration entity)
 {
     return((from e in entityContext.Set <CDQMETLConfiguration>()
             where e.ETLConfigurationId == entity.ETLConfigurationId
             select e).FirstOrDefault());
 }
Exemple #12
0
 protected override CDQMCustomerMIS AddEntity(CDQMContext entityContext, CDQMCustomerMIS entity)
 {
     return(entityContext.Set <CDQMCustomerMIS>().Add(entity));
 }
Exemple #13
0
 protected override CDQMAddress AddEntity(CDQMContext entityContext, CDQMAddress entity)
 {
     return(entityContext.Set <CDQMAddress>().Add(entity));
 }
 protected override CDQMCustomerDuplicate UpdateEntity(CDQMContext entityContext, CDQMCustomerDuplicate entity)
 {
     return((from e in entityContext.Set <CDQMCustomerDuplicate>()
             where e.CUST_DUPLICATES_ID == entity.CUST_DUPLICATES_ID
             select e).FirstOrDefault());
 }
 protected override CDQMCustomerDuplicate AddEntity(CDQMContext entityContext, CDQMCustomerDuplicate entity)
 {
     return(entityContext.Set <CDQMCustomerDuplicate>().Add(entity));
 }
Exemple #16
0
 protected override CDQMMerchant AddEntity(CDQMContext entityContext, CDQMMerchant entity)
 {
     return(entityContext.Set <CDQMMerchant>().Add(entity));
 }
Exemple #17
0
 protected override IEnumerable <CDQMETLConfiguration> GetEntities(CDQMContext entityContext)
 {
     return(from e in entityContext.Set <CDQMETLConfiguration>()
            select e);
 }
Exemple #18
0
 protected override CDQMProduct AddEntity(CDQMContext entityContext, CDQMProduct entity)
 {
     return(entityContext.Set <CDQMProduct>().Add(entity));
 }
Exemple #19
0
 protected override IEnumerable <CDQMCustomerMIS> GetEntities(CDQMContext entityContext)
 {
     return(from e in entityContext.Set <CDQMCustomerMIS>()
            select e);
 }
Exemple #20
0
 protected override CDQMProduct UpdateEntity(CDQMContext entityContext, CDQMProduct entity)
 {
     return((from e in entityContext.Set <CDQMProduct>()
             where e.ProductId == entity.ProductId
             select e).FirstOrDefault());
 }
Exemple #21
0
 protected override CDQMETLConfiguration AddEntity(CDQMContext entityContext, CDQMETLConfiguration entity)
 {
     return(entityContext.Set <CDQMETLConfiguration>().Add(entity));
 }
Exemple #22
0
 protected override CDQMAddress UpdateEntity(CDQMContext entityContext, CDQMAddress entity)
 {
     return((from e in entityContext.Set <CDQMAddress>()
             where e.AddressId == entity.AddressId
             select e).FirstOrDefault());
 }
 protected override CDQMCountry AddEntity(CDQMContext entityContext, CDQMCountry entity)
 {
     return(entityContext.Set <CDQMCountry>().Add(entity));
 }
Exemple #24
0
 protected override CDQMCustomerMIS UpdateEntity(CDQMContext entityContext, CDQMCustomerMIS entity)
 {
     return((from e in entityContext.Set <CDQMCustomerMIS>()
             where e.CustomerMISId == entity.CustomerMISId
             select e).FirstOrDefault());
 }
 protected override CDQMCountry UpdateEntity(CDQMContext entityContext, CDQMCountry entity)
 {
     return((from e in entityContext.Set <CDQMCountry>()
             where e.CountryId == entity.CountryId
             select e).FirstOrDefault());
 }
 protected override CDQMTitle AddEntity(CDQMContext entityContext, CDQMTitle entity)
 {
     return(entityContext.Set <CDQMTitle>().Add(entity));
 }
 protected override CDQMCustomerPersistent AddEntity(CDQMContext entityContext, CDQMCustomerPersistent entity)
 {
     return(entityContext.Set <CDQMCustomerPersistent>().Add(entity));
 }