string[] as argument to WithPrimaryKey()
Closed this issue · 1 comments
olovericson commented
It would be nice if the
IDataPackageResourceBuilder WithPrimaryKey(string field, params string[] parts);
could take a WithPrimaryKey(params string[] fields); directly to avoid having to do:
WithPrimaryKey(primaryKeys.First(), primaryKeys.Skip(1).ToArray());
drunkcod commented
I'll aligin the PrimareyKey definitions to the ForeignKey form making them both take arrays.
This will be in the next version.