/// <summary> /// Initializes a new instance of the <see cref="ComplexEntity" /> class. /// </summary> /// <param name="uniqueName"> /// The unique name. /// </param> /// <param name="subEntity"> /// The sub entity. /// </param> /// <param name="fakeEnumeration"> /// The fake enumeration. /// </param> /// <param name="createdBy"> /// The creation entity. /// </param> /// <param name="creationTime"> /// The creation time. /// </param> public ComplexEntity( string uniqueName, SubEntity subEntity, FakeEnumeration fakeEnumeration, CreatedBy createdBy, DateTimeOffset creationTime) : this(uniqueName, subEntity, fakeEnumeration, createdBy, creationTime, 0) { this.ComplexEntityId = null; }
/// <summary> /// Initializes a new instance of the <see cref="ComplexEntity" /> class. /// </summary> /// <param name="uniqueName"> /// The unique name. /// </param> /// <param name="subEntity"> /// The sub entity. /// </param> /// <param name="fakeEnumeration"> /// The fake enumeration. /// </param> /// <param name="createdBy"> /// The creation entity. /// </param> /// <param name="creationTime"> /// The creation time. /// </param> /// <param name="complexEntityId"> /// The fake complex entity id. /// </param> public ComplexEntity( string uniqueName, SubEntity subEntity, FakeEnumeration fakeEnumeration, CreatedBy createdBy, DateTimeOffset creationTime, int complexEntityId) { this.UniqueName = uniqueName; this.ComplexEntityId = complexEntityId; this.FakeEnumeration = fakeEnumeration; this.SubEntity = subEntity; this.CreationTime = creationTime; this.CreatedBy = createdBy; }
/// <summary> /// Initializes a new instance of the <see cref="ComplexEntity" /> class. /// </summary> /// <param name="uniqueName"> /// The unique name. /// </param> /// <param name="subEntity"> /// The sub entity. /// </param> /// <param name="fakeEnumeration"> /// The fake enumeration. /// </param> /// <param name="createdBy"> /// The creation entity. /// </param> public ComplexEntity(string uniqueName, SubEntity subEntity, FakeEnumeration fakeEnumeration, CreatedBy createdBy) : this(uniqueName, subEntity, fakeEnumeration, createdBy, DateTimeOffset.Now) { }