/// <summary> /// Deprecated Method for adding a new object to the RevitVersions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToRevitVersions(RevitVersion revitVersion) { base.AddObject("RevitVersions", revitVersion); }
/// <summary> /// Create a new RevitVersion object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="version">Initial value of the Version property.</param> /// <param name="autodeskFile_Id">Initial value of the AutodeskFile_Id property.</param> public static RevitVersion CreateRevitVersion(global::System.Int32 id, global::System.String version, global::System.Int32 autodeskFile_Id) { RevitVersion revitVersion = new RevitVersion(); revitVersion.Id = id; revitVersion.Version = version; revitVersion.AutodeskFile_Id = autodeskFile_Id; return revitVersion; }