public WidgetModel(int order, string title, WidgetKind kind) { _entity = new WidgetEntity { Id = Guid.NewGuid(), Order = order, Title = title, WidgetKind = (int)kind, }; }
public WidgetModel(int order, string title, WidgetKind kind) { Id = Guid.NewGuid(); _entity = new WidgetEntity { PartitionKey = nameof(WidgetModel), RowKey = Id.ToString(), Order = order, Title = title, WidgetKind = (int)kind, }; }