示例#1
0
        private bool IsColumnValidForInsert(DBColumn column)
        {
            bool isValid = false;

            if (!DataAccess.isModifiedDate(column) && !DataAccess.isCreatedDate(column) && !DataAccess.isAuthorityId(column))
            {
                isValid = !column.IsAutoKey && !column.IsComputed;
            }
            return(isValid);
        }
示例#2
0
 private bool IsColumnValidForUpdate(DBColumn column)
 {
     return(!DataAccess.isModifiedDate(column) && !DataAccess.isCreatedDate(column) &&
            !DataAccess.isAuthorityId(column) && !DataAccess.isCreationUserId(column));
 }