public void Insert(string Diagram, DateTime ModifiedDate) { Illustration item = new Illustration(); item.Diagram = Diagram; item.ModifiedDate = ModifiedDate; item.Save(UserName); }
public void Update(int IllustrationID, string Diagram, DateTime ModifiedDate) { Illustration item = new Illustration(); item.IllustrationID = IllustrationID; item.Diagram = Diagram; item.ModifiedDate = ModifiedDate; item.MarkOld(); item.Save(UserName); }
public bool Destroy(object IllustrationID) { return(Illustration.Destroy(IllustrationID) == 1); }
public bool Delete(object IllustrationID) { return(Illustration.Delete(IllustrationID) == 1); }