public void Insert(string DataTypeName, string FieldDataName, string Note) { var item = new TDataType(); item.DataTypeName = DataTypeName; item.FieldDataName = FieldDataName; item.Note = Note; item.Save(UserName); }
public void Update(int DataTypeId, string DataTypeName, string FieldDataName, string Note) { var item = new TDataType(); item.MarkOld(); item.IsLoaded = true; item.DataTypeId = DataTypeId; item.DataTypeName = DataTypeName; item.FieldDataName = FieldDataName; item.Note = Note; item.Save(UserName); }
public bool Destroy(object DataTypeId) { return(TDataType.Destroy(DataTypeId) == 1); }
public bool Delete(object DataTypeId) { return(TDataType.Delete(DataTypeId) == 1); }