/// <summary> /// Initializes a new instance of the <see cref="Repository"/> class. /// </summary> /// <param name="entities"> /// The entities. /// </param> protected Repository(ArmorAppEntities entities) { this.db = entities; }
/// <summary> /// The set context. /// </summary> /// <param name="context"> /// The context. /// </param> public void SetContext(ArmorAppEntities context) { this.db = context; }
/// <summary> /// Initializes a new instance of the <see cref="Repository" /> class. /// </summary> protected Repository() { this.db = new ArmorAppEntities(); }