/// <summary> /// Create a new PreprocessConsumer object. /// </summary> /// <param name="consumerId">Initial value of the ConsumerId property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="identityType">Initial value of the IdentityType property.</param> /// <param name="preprocessId">Initial value of the PreprocessId property.</param> public static PreprocessConsumer CreatePreprocessConsumer(global::System.Int32 consumerId, global::System.String name, global::System.Int32 identityType, global::System.Int32 preprocessId) { PreprocessConsumer preprocessConsumer = new PreprocessConsumer(); preprocessConsumer.ConsumerId = consumerId; preprocessConsumer.Name = name; preprocessConsumer.IdentityType = identityType; preprocessConsumer.PreprocessId = preprocessId; return preprocessConsumer; }
/// <summary> /// Deprecated Method for adding a new object to the PreprocessConsumerSet EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPreprocessConsumerSet(PreprocessConsumer preprocessConsumer) { base.AddObject("PreprocessConsumerSet", preprocessConsumer); }