项目重命名
This commit is contained in:
24
MesETL.Test/TableIndex.cs
Normal file
24
MesETL.Test/TableIndex.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
namespace TestProject1;
|
||||
|
||||
public record TableIndex(string TableName, string IndexName, bool IsUnique, string ColumnName, TableIndex.TableIndexType IndexType)
|
||||
{
|
||||
public enum TableIndexType
|
||||
{
|
||||
BTree,
|
||||
Hash,
|
||||
Primary
|
||||
}
|
||||
|
||||
public void Deconstruct(out string tableName, out string indexName)
|
||||
{
|
||||
tableName = TableName;
|
||||
indexName = IndexName;
|
||||
}
|
||||
|
||||
public void Deconstruct(out string tableName, out string indexName, out string columnName)
|
||||
{
|
||||
tableName = TableName;
|
||||
indexName = IndexName;
|
||||
columnName = ColumnName;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user