public Connection(PNetEntities entities) { this.Entities = entities; }
public Connection(string connString) { ConnectionString = connString; Entities = new PNetEntities(connString); }
public Connection() { entities = new PNetEntities(); }