|
|
От: | Naf2000 | |
| Дата: | 07.11.21 11:13 | ||
| Оценка: | |||
[Table("Parners")]
class Partner
{
[Column(SkipOnEntityFetch=true)]
public string Name {...}
[ExpressionMethod(nameof(...),IsColumn=true)] //здесь выражение основано на Name
public string Display {...}
}var query = DB.Partners.Concat(DB.Partners);System.ArgumentOutOfRangeException: "Index was out of range. Must be non-negative and less than the size of the collection. Arg_ParamName_Name"