public void Save(FileCategory category)
 {
     if (category.ID == 0)
     {
         _Data.FileCategories.InsertOnSubmit(category);
     }
     _Data.SubmitChanges();
 }
示例#2
0
 partial void DeleteFileCategory(FileCategory instance);
示例#3
0
 partial void UpdateFileCategory(FileCategory instance);
示例#4
0
 partial void InsertFileCategory(FileCategory instance);