MigSharp.Providers.RecordingProvider.AddPrimaryKey C# (CSharp) Метод

AddPrimaryKey() приватный Метод

private AddPrimaryKey ( TableName tableName, IEnumerable columnNames, string constraintName ) : IEnumerable
tableName MigSharp.Core.TableName
columnNames IEnumerable
constraintName string
Результат IEnumerable
        public IEnumerable<string> AddPrimaryKey(TableName tableName, IEnumerable<string> columnNames, string constraintName)
        {
            AddMethodName();
            AddNewObjectNames(constraintName);
            // FEATURE: try to find out the data types of the pk columns add them to the _primaryKeyDataTypes list
            // This can only be done if the same migration has added the table, and if the columnNames are tracked, along with their data type.
            return Enumerable.Empty<string>();
        }