public static void DelFileEmployee(int FileId) { Query q = FileEmployee.Query(); q.AddWhere(FileEmployee.Columns.FileId, FileId); q.QueryType = QueryType.Delete; q.Execute(); }
public static void UpdateDocument(int FileId, int EmId) { Query q = FileEmployee.Query(); q.AddWhere(FileEmployee.Columns.FileId, FileId); q.AddWhere(FileEmployee.Columns.EmployeeId, EmId); q.QueryType = QueryType.Update; q.AddUpdateSetting(FileEmployee.Columns.IsMsg, "1"); q.Execute(); }