Skip to content

GetFunctions method is not implemented #27

@kobruleht

Description

@kobruleht

I'm trying to port https://github.com/DbLinq/dblinq2007 package to .NET 5 .

Using this instead of original throws errors in \DbLinq\DbLinq\Data\Linq\Mapping\XmlMappingSource.cs

  1. It looks like GetFunctions() is not implemented, Cannot override two methods:

IEnumerable<System.Data.Linq.Mapping.MetaFunction> GetFunctions()
IEnumerable GetFunctions()

  1. Line

    class XmlMetaAccessor : System.Data.Linq.Mapping.MetaAccessor
    

throws error in VS2019

Error CS0534 'XmlMappingSource.XmlMetaAccessor' does not implement inherited abstract member 'MetaAccessor.Target.get' DbLinq ... \DbLinq\DbLinq\Data\Linq\Mapping\XmlMappingSource.cs 1109

Adding

internal override MemberInfo Target => throw new NotImplementedException();

to this class as VS2019 suggests does not remove the error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions