Example #1
0
        public void Insert(string Name, DateTime Createdon, DateTime?Appliedon)
        {
            Dbversion item = new Dbversion();

            item.Name = Name;

            item.Createdon = Createdon;

            item.Appliedon = Appliedon;


            item.Save(UserName);
        }
Example #2
0
        public void Update(int Id, string Name, DateTime Createdon, DateTime?Appliedon)
        {
            Dbversion item = new Dbversion();

            item.MarkOld();
            item.IsLoaded = true;

            item.Id = Id;

            item.Name = Name;

            item.Createdon = Createdon;

            item.Appliedon = Appliedon;

            item.Save(UserName);
        }