Example #1
0
        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);
        }
Example #2
0
        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);
        }
Example #3
0
 public bool Destroy(object DataTypeId)
 {
     return(TDataType.Destroy(DataTypeId) == 1);
 }
Example #4
0
 public bool Delete(object DataTypeId)
 {
     return(TDataType.Delete(DataTypeId) == 1);
 }