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); }
public bool Destroy(object OrderStatusDescriptorId) { return(OrderStatusDescriptor.Destroy(OrderStatusDescriptorId) == 1); }