<Window x:Class="Q3.WPF.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        xmlns:local="clr-namespace:Q3.WPF"
        Title="MainWindow"
        Height="350"
        Width="525">
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <telerik:RadEntityFrameworkDataSource x:Name="xEFDS"
                                              QueryName="Customers">
            <telerik:RadEntityFrameworkDataSource.ObjectContext>
                <local:Northwind2Entities />
            </telerik:RadEntityFrameworkDataSource.ObjectContext>
        </telerik:RadEntityFrameworkDataSource>
        <telerik:RadGridView x:Name="xGrid"
                             ItemsSource="{Binding DataView, ElementName=xEFDS}" />
        <telerik:RadDataPager x:Name="xPager"
                              Grid.Row="1"
                              PageSize="20"
                              Source="{Binding DataView, ElementName=xEFDS}" />
    </Grid>
</Window>
