Tips and trick cu Entity Framework
1. Cum obtineti Connection String curat din Entity Framework Connection String Sa zicem ca aveti definit connection string pentru EF in (web|app).config , ceva de genul : <connectionStrings> <add name="iERPEntities" connectionString="metadata=res://*/ERP.csdl|res://*/ERP.ssdl|res://*/ERP.msl;provider=System.Data.SqlClient;provider connection string="Data Source=PC;Initial Catalog=ERP;Persist Security Info=True;User ID=x;Password=xy;MultipleActiveResultSets=True"" providerName="System.Data.EntityClient" /> Si vreti sa preluati rezultatele de la o procedura stocata sau doar […]