예제 #1
0
        public void Insert(int OrderStatusDescriptorId, string Name, string CreatedBy, DateTime CreatedOn, string ModifiedBy, DateTime ModifiedOn)
        {
            OrderStatusDescriptor item = new OrderStatusDescriptor();

            item.OrderStatusDescriptorId = OrderStatusDescriptorId;

            item.Name = Name;

            item.CreatedBy = CreatedBy;

            item.CreatedOn = CreatedOn;

            item.ModifiedBy = ModifiedBy;

            item.ModifiedOn = ModifiedOn;


            item.Save(UserName);
        }
예제 #2
0
 public bool Destroy(object OrderStatusDescriptorId)
 {
     return(OrderStatusDescriptor.Destroy(OrderStatusDescriptorId) == 1);
 }