/// <summary> /// Deprecated Method for adding a new object to the CollectionAgent EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCollectionAgent(CollectionAgent collectionAgent) { base.AddObject("CollectionAgent", collectionAgent); }
/// <summary> /// Create a new CollectionAgent object. /// </summary> /// <param name="collectionSpecimenID">Initial value of the CollectionSpecimenID property.</param> /// <param name="collectorsName">Initial value of the CollectorsName 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 CollectionAgent CreateCollectionAgent(global::System.Int32 collectionSpecimenID, global::System.String collectorsName, global::System.Boolean xx_IsAvailable, global::System.Guid rowGUID) { CollectionAgent collectionAgent = new CollectionAgent(); collectionAgent.CollectionSpecimenID = collectionSpecimenID; collectionAgent.CollectorsName = collectorsName; collectionAgent.xx_IsAvailable = xx_IsAvailable; collectionAgent.RowGUID = rowGUID; return collectionAgent; }