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