/// <summary> /// Deprecated Method for adding a new object to the CollectionSpecimen EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCollectionSpecimen(CollectionSpecimen collectionSpecimen) { base.AddObject("CollectionSpecimen", collectionSpecimen); }
/// <summary> /// Create a new CollectionSpecimen object. /// </summary> /// <param name="collectionSpecimenID">Initial value of the CollectionSpecimenID property.</param> /// <param name="version">Initial value of the Version property.</param> /// <param name="xx_IsAvailable">Initial value of the xx_IsAvailable property.</param> /// <param name="rowGUID">Initial value of the RowGUID property.</param> public static CollectionSpecimen CreateCollectionSpecimen(global::System.Int32 collectionSpecimenID, global::System.Int32 version, global::System.Boolean xx_IsAvailable, global::System.Guid rowGUID) { CollectionSpecimen collectionSpecimen = new CollectionSpecimen(); collectionSpecimen.CollectionSpecimenID = collectionSpecimenID; collectionSpecimen.Version = version; collectionSpecimen.xx_IsAvailable = xx_IsAvailable; collectionSpecimen.RowGUID = rowGUID; return collectionSpecimen; }