public virtual DbTypeNameCategory GetTypeNameCategory(string typeName) { if (typeName == null) { throw new ArgumentNullException(nameof(typeName)); } typeName = typeName.ToLower(); var attribute = DialectBase.GetOrCreateDialectAttribute(this.GetType()); if (attribute.Categories.ContainsKey(typeName)) { return(attribute.Categories[typeName]); } else { throw new DbException($"Could not get type name category for type '{typeName}'."); } }
protected Tuple <char, char>[] BuildIdentifierDelimiters() { var attribute = DialectBase.GetOrCreateDialectAttribute(this.GetType()); return(attribute.IdentifierDelimiters); }