/// <summary> /// Public constructor with required data /// </summary> /// <param name="entityimplementation"></param> public Entity1(global::Testing.EntityImplementation entityimplementation) { if (entityimplementation == null) { throw new ArgumentNullException(nameof(entityimplementation)); } this.EntityImplementation = entityimplementation; Init(); }
/// <summary> /// Static create function (for use in LINQ queries, etc.) /// </summary> /// <param name="entityimplementation"></param> public static Entity1 Create(global::Testing.EntityImplementation entityimplementation) { return(new Entity1(entityimplementation)); }
/// <summary> /// Default constructor. Protected due to required properties, but present because EF needs it. /// </summary> protected Entity1() { EntityImplementation = new global::Testing.EntityImplementation(); Init(); }