public InvoiceEntity(InvoiceDTO invoice) { RowKey = invoice.InvoiceID.ToString(); PartitionKey = invoice.InvoiceYear.ToString(); InvoiceID = invoice.InvoiceID; InvoiceNumber = invoice.InvoiceNumber; InvoiceYear = invoice.InvoiceYear; InvoiceMonth = invoice.InvoiceMonth; InvoiceDay = invoice.InvoiceDay; }