/// <summary> /// Builds the name name of the catalog for index of table with specified name, schema and database. /// </summary> /// <param name="typeInfo"><see cref="Orm.Model.TypeInfo">The type</see> from domain model.</param> /// <param name="databaseName">The name of database.</param> /// <param name="schemaName">The name of schema.</param> /// <param name="tableName">The name of table.</param> /// <returns></returns> protected virtual string Build(Orm.Model.TypeInfo typeInfo, string databaseName, string schemaName, string tableName) { return(null); }
/// <inheritdoc /> public string Build(Orm.Model.TypeInfo typeInfo, TableInfo indexedTable) { var nameParts = GetNameParts(indexedTable.Name); return(Build(typeInfo, nameParts[0], nameParts[1], nameParts[2])); }