예제 #1
0
        public static void DelFileEmployee(int FileId)
        {
            Query q = FileEmployee.Query();

            q.AddWhere(FileEmployee.Columns.FileId, FileId);
            q.QueryType = QueryType.Delete;
            q.Execute();
        }
예제 #2
0
        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();
        }