Posts by Magoolation • 76 points
1 post
-
6
votes1
answer412
viewsA: Entity framework with connection string via code
For this just pass your connection string in the constructor of its context. For example: public class MeuDbContext: DbContext { public MeuDbContext(): base("Data Source=localhost;Initial…