public CustomerEntity RetrieveCustomerByIndex(CustomerTableIndex customerTableIndex) { try { return(RetrieveCustomerByIndex(customerTableIndex.PartitionKey, customerTableIndex.RowKey)); } catch (Exception error) { Console.WriteLine(error); return(null); } }
public bool IsSameAs(CustomerTableIndex customerTableIndex) { return(this.PartitionKey == customerTableIndex.PartitionKey && this.RowKey == customerTableIndex.RowKey); }