Esempio n. 1
0
        public static BusParOfBusFunc BusParIfBusFuncModel(BusParOfBusFunc par)
        {
            var entity = new BusParOfBusFunc
            {
                ID                      = par.ID,
                Value_MaxCount          = par.Value_MaxCount,
                Value_DateInterval_From = par.Value_DateInterval_From,
                Value_DateInterval_To   = par.Value_DateInterval_To,
                Value_FeatureOption     = par.Value_FeatureOption,
                Comment                 = par.Comment,
                BusParID                = par.BusParID,
                BusFuncID               = par.BusFuncID
            };

            return(entity);
        }
Esempio n. 2
0
 public static void UpdateBusParOfBusFuncModel(BusParOfBusFunc par)
 {
     UpdateInDatabase.BusParOfBusFuncUpdate(BusParOfBusFuncModel(par));
 }
Esempio n. 3
0
 public static BusParOfBusFunc CreateBusParOfBusFuncModel(BusParOfBusFunc par)
 {
     CreateToDatabase.DbCreate(BusParOfBusFuncModel(par));
     return(BusParOfBusFuncModel(par));
 }
Esempio n. 4
0
 public static void DestroyBusParOfBusFuncModel(BusParOfBusFunc par)
 {
     DestroyFromDatabase.BusParOfBusFuncDelete(BusParOfBusFuncModel(par));
 }