<Window x:Class="WpfApplication1.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:WpfApplication1"
        Title="MainWindow">
    <Grid x:Name="LayoutRoot" Background="White">
        <Grid.Resources>
            <ObjectDataProvider  x:Key="products" 
                 ObjectType="{x:Type  local:NorthwindEntities}"  MethodName="get_Products">
            </ObjectDataProvider>
        </Grid.Resources>
        <telerik:RadGridView  ItemsSource="{Binding Source={StaticResource products}}" AutoGenerateColumns="False">
            <telerik:RadGridView.Columns>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding ProductID}"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding UnitPrice}" DataFormatString="{}{0:c}"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding UnitsInStock}"/>
                <telerik:GridViewDataColumn DataMemberBinding="{Binding TotalPrice}" DataFormatString="{}{0:c}"/>
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
    </Grid>
</Window>
