???????
???????????winformС?????????????????????????????ef6.0+sqlserver2008???????????????????????????????????????????д?????????????
???????δ????????????????
????No Entity Framework provider found for the ADO.NET provider with invariant name 'System.Data.SqlClient'. Make sure the provider is registered in the 'entityFramework' section of the application config file.

????????????????????????????????????????????????????entutyFramework??????????????????????????????????????????????????????????????EntityFramework.SqlServer.dll???????????????????????У??????????±????????????????????????????????EntityFramework.SqlServer.dll?????????????????True???????????????????С??????????????binDebug??????????????EntityFramework.dll????????EntityFramework.SqlServer.dll????????????????????????????
?????????????
????1.??????????EntityFramework.dll ??EntityFramework.SqlServer.dll
????2.???????????????????????True
????3.????????????????????
???????????sqlserver???????
????<providers>
????<provider invariantName="System.Data.SqlClient" type="System.Data.Entity.SqlServer.SqlProviderServices?? EntityFramework.SqlServer" />
????</providers>
????4.???????????????????2??dll???????У???????????
?????????????Ч
??????????????????????????????????????????????????????????????????????????????

??????????
????????????????飬???????????????????????????????????????????????BaseContext:DbContext??????????????????????  public DbSet<Employee>a_Emp { get; set; }???????????????????????????????????????[key]?????????????????????????????2????????????????????????????????к?????????