Скажите, пожалуйста, как сгенерировать одну таблицу БД для собственных типов.Вот моя модель
public class Price
{
public string OrderId { get; set; }
public Money Money { get; set; }
public Error Error { get; set; }
public PriceType PriceType { get; set; } // enum
[ConcurrencyCheck]
public DateTimeOffset UpdatedOn { get; set; }
}
public class Money
{
public string Currency { get; set; }
public decimal Amount { get; set; }
}
public class Error
{
public ErrorType Type { get; set; }
public string Message { get; set; }
}