public static MyNoSqlIndex Create( string partitionKey, string rowKey, IMyNoSqlDbEntity tableEntity) { var azureIndex = new MyNoSqlIndex { PartitionKey = partitionKey, RowKey = rowKey, PrimaryPartitionKey = tableEntity.PartitionKey, PrimaryRowKey = tableEntity.RowKey }; return(azureIndex); }
public static MyNoSqlIndex Create( string partitionKey, string rowKey, string primaryPartitionKey, string primaryRowKey) { var azureIndex = new MyNoSqlIndex { PartitionKey = partitionKey, RowKey = rowKey, PrimaryPartitionKey = primaryPartitionKey, PrimaryRowKey = primaryRowKey }; return(azureIndex); }