private void OnInitialize(string structureName) { StructureTableName = DbSchemaInfo.GenerateStructureTableName(structureName); SpatialTableName = DbSchemaInfo.GenerateSpatialTableName(structureName); UniquesTableName = DbSchemaInfo.GenerateUniquesTableName(structureName); IndexesTableNames = new IndexesTableNames(structureName); AllTableNames = new[] { StructureTableName, SpatialTableName, UniquesTableName } .MergeWith(IndexesTableNames.All) .ToArray(); }
private void OnInitialize(string structureName) { IntegersTableName = DbSchemaInfo.GenerateIndexesTableNameFor(structureName, IndexesTypes.Integers); FractalsTableName = DbSchemaInfo.GenerateIndexesTableNameFor(structureName, IndexesTypes.Fractals); BooleansTableName = DbSchemaInfo.GenerateIndexesTableNameFor(structureName, IndexesTypes.Booleans); DatesTableName = DbSchemaInfo.GenerateIndexesTableNameFor(structureName, IndexesTypes.Dates); GuidsTableName = DbSchemaInfo.GenerateIndexesTableNameFor(structureName, IndexesTypes.Guids); StringsTableName = DbSchemaInfo.GenerateIndexesTableNameFor(structureName, IndexesTypes.Strings); TextsTableName = DbSchemaInfo.GenerateIndexesTableNameFor(structureName, IndexesTypes.Texts); All = new[] { IntegersTableName, FractalsTableName, BooleansTableName, DatesTableName, GuidsTableName, StringsTableName, TextsTableName }; }