private readonly DBEntities _db; // disposable, so need to implement dispose on the class public MyModel() { _db = new DBEntities(); //where is it getting the connection string? }
private readonly DBEntities _db; // disposable, so need to implement dispose on the class #endregion Fields #region Constructors public MyModel() { _db = new DBEntities(); //where is it getting the connection string? }