/// <summary> /// Deprecated Method for adding a new object to the CZVersions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCZVersions(CZVersion cZVersion) { base.AddObject("CZVersions", cZVersion); }
/// <summary> /// Create a new CZVersion object. /// </summary> /// <param name="versionNumber">Initial value of the VersionNumber property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> /// <param name="cZVersionID">Initial value of the CZVersionID property.</param> public static CZVersion CreateCZVersion(global::System.Int32 versionNumber, global::System.DateTime createdDate, global::System.Boolean isDeleted, global::System.Guid cZVersionID) { CZVersion cZVersion = new CZVersion(); cZVersion.VersionNumber = versionNumber; cZVersion.CreatedDate = createdDate; cZVersion.IsDeleted = isDeleted; cZVersion.CZVersionID = cZVersionID; return cZVersion; }