/// <summary> /// Deprecated Method for adding a new object to the CollectionProject EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCollectionProject(CollectionProject collectionProject) { base.AddObject("CollectionProject", collectionProject); }
/// <summary> /// Create a new CollectionProject object. /// </summary> /// <param name="collectionSpecimenID">Initial value of the CollectionSpecimenID property.</param> /// <param name="projectID">Initial value of the ProjectID property.</param> /// <param name="rowGUID">Initial value of the RowGUID property.</param> public static CollectionProject CreateCollectionProject(global::System.Int32 collectionSpecimenID, global::System.Int32 projectID, global::System.Guid rowGUID) { CollectionProject collectionProject = new CollectionProject(); collectionProject.CollectionSpecimenID = collectionSpecimenID; collectionProject.ProjectID = projectID; collectionProject.RowGUID = rowGUID; return collectionProject; }