Click here to Skip to main content
15,881,281 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello

I have problem. In this link:
http://msdn.microsoft.com/en-us/data/gg638943[^]

we can see that code is automatically generated. But when I drag and drop some entity in the same way, visual studio generate only this:

using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
 
namespace Testowy
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }
 
        private void Window_Loaded(object sender, RoutedEventArgs e)
        {
 
            System.Windows.Data.CollectionViewSource taktTimerEntitiesViewSource = ((System.Windows.Data.CollectionViewSource)(this.FindResource("taktTimerEntitiesViewSource")));
            // Load data by setting the CollectionViewSource.Source property:
            // taktTimerEntitiesViewSource.Source = [generic data source]
        }
    }
}


I have visual studio 2012. I tried the same in Visual Studio 2010 Express but situation was the same. Can somebody help?
Posted
Updated 3-Aug-14 22:14pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900