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