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); }
private bool IsColumnValidForUpdate(DBColumn column) { return(!DataAccess.isModifiedDate(column) && !DataAccess.isCreatedDate(column) && !DataAccess.isAuthorityId(column) && !DataAccess.isCreationUserId(column)); }