Beispiel #1
0
 protected override TeamSegment AddEntity(MPRContext entityContext, TeamSegment entity)
 {
     return(entityContext.Set <TeamSegment>().Add(entity));
 }
Beispiel #2
0
 protected override IEnumerable <CorporateAdjustment> GetEntities(MPRContext entityContext)
 {
     return(from e in entityContext.Set <CorporateAdjustment>()
            select e);
 }
 protected override MemoUnits UpdateEntity(MPRContext entityContext, MemoUnits entity)
 {
     return((from e in entityContext.Set <MemoUnits>()
             where e.MemoUnitsId == entity.MemoUnitsId
             select e).FirstOrDefault());
 }
 protected override OpexUpdate UpdateEntity(MPRContext entityContext, OpexUpdate entity)
 {
     return((from e in entityContext.Set <OpexUpdate>()
             where e.ID == entity.ID
             select e).FirstOrDefault());
 }
Beispiel #5
0
 protected override CorporateAdjustment AddEntity(MPRContext entityContext, CorporateAdjustment entity)
 {
     return(entityContext.Set <CorporateAdjustment>().Add(entity));
 }
 protected override IncomeProductShare AddEntity(MPRContext entityContext, IncomeProductShare entity)
 {
     return(entityContext.Set <IncomeProductShare>().Add(entity));
 }
 protected override IEnumerable <IncomeProductShare> GetEntities(MPRContext entityContext)
 {
     return(from e in entityContext.Set <IncomeProductShare>()
            select e);
 }
Beispiel #8
0
 protected override RevenueBudget AddEntity(MPRContext entityContext, RevenueBudget entity)
 {
     return(entityContext.Set <RevenueBudget>().Add(entity));
 }
Beispiel #9
0
 protected override RevenueBudget UpdateEntity(MPRContext entityContext, RevenueBudget entity)
 {
     return((from e in entityContext.Set <RevenueBudget>()
             where e.BudgetId == entity.BudgetId
             select e).FirstOrDefault());
 }
Beispiel #10
0
 protected override ExpenseProductMapping UpdateEntity(MPRContext entityContext, ExpenseProductMapping entity)
 {
     return((from e in entityContext.Set <ExpenseProductMapping>()
             where e.ExpenseProductId == entity.ExpenseProductId
             select e).FirstOrDefault());
 }
Beispiel #11
0
 protected override IEnumerable <ExpenseProductMapping> GetEntities(MPRContext entityContext)
 {
     return(from e in entityContext.Set <ExpenseProductMapping>()
            select e);
 }
Beispiel #12
0
 protected override ExpenseProductMapping AddEntity(MPRContext entityContext, ExpenseProductMapping entity)
 {
     return(entityContext.Set <ExpenseProductMapping>().Add(entity));
 }
Beispiel #13
0
 protected override IEnumerable <TeamSegment> GetEntities(MPRContext entityContext)
 {
     return((from e in entityContext.Set <TeamSegment>()
             select e).Take(500));
 }
Beispiel #14
0
 protected override TeamSegment UpdateEntity(MPRContext entityContext, TeamSegment entity)
 {
     return((from e in entityContext.Set <TeamSegment>()
             where e.Mpr_Team_Segment_ID == entity.Mpr_Team_Segment_ID
             select e).FirstOrDefault());
 }
 protected override MPRBalanceSheetAdjustment AddEntity(MPRContext entityContext, MPRBalanceSheetAdjustment entity)
 {
     return(entityContext.Set <MPRBalanceSheetAdjustment>().Add(entity));
 }
Beispiel #16
0
 protected override IEnumerable <RevenueBudget> GetEntities(MPRContext entityContext)
 {
     return(from e in entityContext.Set <RevenueBudget>()
            select e);
 }
 protected override MPRBalanceSheetAdjustment UpdateEntity(MPRContext entityContext, MPRBalanceSheetAdjustment entity)
 {
     return((from e in entityContext.Set <MPRBalanceSheetAdjustment>()
             where e.BalancesheetAdjustmentId == entity.BalancesheetAdjustmentId
             select e).FirstOrDefault());
 }
 protected override FinstatMapping AddEntity(MPRContext entityContext, FinstatMapping entity)
 {
     return(entityContext.Set <FinstatMapping>().Add(entity));
 }
 protected override IncomeProductShare UpdateEntity(MPRContext entityContext, IncomeProductShare entity)
 {
     return((from e in entityContext.Set <IncomeProductShare>()
             where e.ID == entity.ID
             select e).FirstOrDefault());
 }
 protected override FinstatMapping UpdateEntity(MPRContext entityContext, FinstatMapping entity)
 {
     return((from e in entityContext.Set <FinstatMapping>()
             where e.FinstatMappingId == entity.FinstatMappingId
             select e).FirstOrDefault());
 }
 protected override OpexUpdate AddEntity(MPRContext entityContext, OpexUpdate entity)
 {
     return(entityContext.Set <OpexUpdate>().Add(entity));
 }
 protected override IEnumerable <FinstatMapping> GetEntities(MPRContext entityContext)
 {
     return(from e in entityContext.Set <FinstatMapping>()
            select e);
 }
 protected override IEnumerable <OpexUpdate> GetEntities(MPRContext entityContext)
 {
     return(from e in entityContext.Set <OpexUpdate>()
            select e);
 }
Beispiel #24
0
 protected override MPRTotalLine AddEntity(MPRContext entityContext, MPRTotalLine entity)
 {
     return(entityContext.Set <MPRTotalLine>().Add(entity));
 }
Beispiel #25
0
 protected override CorporateAdjustment UpdateEntity(MPRContext entityContext, CorporateAdjustment entity)
 {
     return((from e in entityContext.Set <CorporateAdjustment>()
             where e.CorporateAdjustmentId == entity.CorporateAdjustmentId
             select e).FirstOrDefault());
 }
Beispiel #26
0
 protected override MPRTotalLine UpdateEntity(MPRContext entityContext, MPRTotalLine entity)
 {
     return((from e in entityContext.Set <MPRTotalLine>()
             where e.TotallineId == entity.TotallineId
             select e).FirstOrDefault());
 }
 protected override MemoUnits AddEntity(MPRContext entityContext, MemoUnits entity)
 {
     return(entityContext.Set <MemoUnits>().Add(entity));
 }
Beispiel #28
0
 protected override IEnumerable <MPRTotalLine> GetEntities(MPRContext entityContext)
 {
     return(from e in entityContext.Set <MPRTotalLine>()
            select e);
 }
 protected override IEnumerable <MemoUnits> GetEntities(MPRContext entityContext)
 {
     return(from e in entityContext.Set <MemoUnits>()
            select e);
 }
Beispiel #30
0
 protected override IEnumerable <IncomeAccountsListing> GetEntities(MPRContext entityContext)
 {
     return((from e in entityContext.Set <IncomeAccountsListing>()
             select e).Take(500));
 }