public void Dispose(ContactifyContext context) { if (context != null) { context.Dispose(); context = null; } }
public ContactifyData(ContactifyContext context) { this.context = context; this.repositories = new Dictionary <Type, object>(); }
public Repository(ContactifyContext context) { this.context = context; this.set = context.Set <T>(); }