/// <summary> /// Deprecated Method for adding a new object to the CollectionEvent EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCollectionEvent(CollectionEvent collectionEvent) { base.AddObject("CollectionEvent", collectionEvent); }
/// <summary> /// Create a new CollectionEvent object. /// </summary> /// <param name="collectionEventID">Initial value of the CollectionEventID 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 CollectionEvent CreateCollectionEvent(global::System.Int32 collectionEventID, global::System.Int32 version, global::System.Boolean xx_IsAvailable, global::System.Guid rowGUID) { CollectionEvent collectionEvent = new CollectionEvent(); collectionEvent.CollectionEventID = collectionEventID; collectionEvent.Version = version; collectionEvent.xx_IsAvailable = xx_IsAvailable; collectionEvent.RowGUID = rowGUID; return collectionEvent; }