public IEnumerable <ColumnDefinition> GetColumnsForComparison() { // TODO in case of integer primary keys: // If RdbmsProvider or one of its derived classes needs to support integer primary keys in addition to GUIDs, // two lookup columns should be used: ID and ClassID (because int IDs wouldn't be globally unique). // For GUID keys, we don't want to include the ClassID, however. return(_valueProperty.GetColumnsForComparison()); }
private ColumnDefinition GetSingleColumnForLookup(IRdbmsStoragePropertyDefinition storagePropertyDefinition) { var columns = storagePropertyDefinition.GetColumnsForComparison().ToList(); if (columns.Count > 1) { throw new NotSupportedException("Compound-column IDs are not supported by this LINQ provider."); } return(columns.Single()); }
public IEnumerable <ColumnDefinition> GetColumnsForComparison() { return(_valueProperty.GetColumnsForComparison()); }
public IEnumerable <ColumnDefinition> GetColumnsForComparison() { return(_serializedIDProperty.GetColumnsForComparison()); }