DataSource for Entity Framework in WPF
C1.LiveLinq.LiveViews Namespace / View Class / AsDynamic Method

In This Topic
    AsDynamic Method (View)
    In This Topic
    Used for views with anonymous type constructor as the result selector, converts the View to a View<dynamic> so it can be used for data binding and programmatic access.
    Syntax
    'Declaration
     
    Public Function AsDynamic() As View(Of Object)
    public View<object> AsDynamic()

    Return Value

    A dynamic view.
    Remarks
    A view with anonymous type constructor as the result selector cannot be used for data binding or programmatic access without applying View.AsDynamic to it. An attempt to do so results in an exception. After applying View.AsDynamic, such view can be used for data binding and programmatic access without limitations.
    See Also