Ejemplo n.º 1
0
        public AddPersonDialog()
        {
            InitializeComponent();

            string connectionString = ConfigurationManager.ConnectionStrings["WpfLINQtoSQLCompanyBenefit.Properties.Settings.CompanyBenefitDBConnectionString"].ConnectionString;

            dataContext = new LINQtoSQLdataClassesDataContext(connectionString);
        }