Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Недоступные методы и классы #16

Closed
genusP opened this issue May 21, 2013 · 1 comment
Closed

Недоступные методы и классы #16

genusP opened this issue May 21, 2013 · 1 comment

Comments

@genusP
Copy link
Contributor

genusP commented May 21, 2013

Пытался перенести код библиотеки для работы с WCF Data service 5.3

под linq2db. Возникло две проблемы:

  1. Класс EntityDescriptor и метод MappingSchema.GetEntityDescriptor не доступны др. библиотекам (помечены internal)

  2. В BLT я использовал для получения первичного ключа такой код:

    var sqlTable = new SqlTable();
    var pkField = sqlTable.Fields.Values.First(f => f.IsPrimaryKey);
    var pkValue = pkField.MemberMapper.GetValue(Resource);

Но в l2db нет для SqlField свойства MemberMapper.

@igor-tkachev
Copy link
Member

  1. pfField.ColumnDescriptor.MemberAccessor.Getter

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants