예제 #1
0
 /// <summary>
 /// 用于向 MerchantProcessor EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToMerchantProcessor(MerchantProcessor merchantProcessor)
 {
     base.AddObject("MerchantProcessor", merchantProcessor);
 }
예제 #2
0
 /// <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;
 }