Beispiel #1
0
 public int InsertStayRate(StayRateModel mStayRate)
 {
     STAY_RATE sr = new STAY_RATE()
     {
         DAYS = mStayRate.Days,
         STAY_RATE1 = mStayRate.StayRate
     };
     dc.STAY_RATE.InsertOnSubmit(sr);
     dc.SubmitChanges();
     return sr.ID;
 }
Beispiel #2
0
 partial void UpdateSTAY_RATE(STAY_RATE instance);
Beispiel #3
0
 partial void DeleteSTAY_RATE(STAY_RATE instance);
Beispiel #4
0
 partial void InsertSTAY_RATE(STAY_RATE instance);