/// <summary> /// 用于向 MerchantProcessor EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToMerchantProcessor(MerchantProcessor merchantProcessor) { base.AddObject("MerchantProcessor", merchantProcessor); }
/// <summary> /// 创建新的 MerchantProcessor 对象。 /// </summary> /// <param name="merchantProcessorID">MerchantProcessorID 属性的初始值。</param> /// <param name="createdByID">CreatedByID 属性的初始值。</param> /// <param name="lastModifiedByID">LastModifiedByID 属性的初始值。</param> /// <param name="createdDate">CreatedDate 属性的初始值。</param> /// <param name="lastModifiedDate">LastModifiedDate 属性的初始值。</param> public static MerchantProcessor CreateMerchantProcessor(global::System.Guid merchantProcessorID, global::System.Guid createdByID, global::System.Guid lastModifiedByID, global::System.DateTime createdDate, global::System.DateTime lastModifiedDate) { MerchantProcessor merchantProcessor = new MerchantProcessor(); merchantProcessor.MerchantProcessorID = merchantProcessorID; merchantProcessor.CreatedByID = createdByID; merchantProcessor.LastModifiedByID = lastModifiedByID; merchantProcessor.CreatedDate = createdDate; merchantProcessor.LastModifiedDate = lastModifiedDate; return merchantProcessor; }