/// <summary> /// 用于向 MerchantInformation EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet<T> 属性的 .Add 方法。 /// </summary> public void AddToMerchantInformation(MerchantInformation merchantInformation) { base.AddObject("MerchantInformation", merchantInformation); }
/// <summary> /// 创建新的 MerchantInformation 对象。 /// </summary> /// <param name="merchantInformationID">MerchantInformationID 属性的初始值。</param> /// <param name="merchantID">MerchantID 属性的初始值。</param> /// <param name="isDeleted">IsDeleted 属性的初始值。</param> /// <param name="createdByID">CreatedByID 属性的初始值。</param> /// <param name="lastModifiedByID">LastModifiedByID 属性的初始值。</param> /// <param name="createdDate">CreatedDate 属性的初始值。</param> /// <param name="lastModifiedDate">LastModifiedDate 属性的初始值。</param> public static MerchantInformation CreateMerchantInformation(global::System.Guid merchantInformationID, global::System.Guid merchantID, global::System.Boolean isDeleted, global::System.Guid createdByID, global::System.Guid lastModifiedByID, global::System.DateTime createdDate, global::System.DateTime lastModifiedDate) { MerchantInformation merchantInformation = new MerchantInformation(); merchantInformation.MerchantInformationID = merchantInformationID; merchantInformation.MerchantID = merchantID; merchantInformation.IsDeleted = isDeleted; merchantInformation.CreatedByID = createdByID; merchantInformation.LastModifiedByID = lastModifiedByID; merchantInformation.CreatedDate = createdDate; merchantInformation.LastModifiedDate = lastModifiedDate; return merchantInformation; }