Exemple #1
0
 /// <summary>
 /// 创建新的 Etp_Activation 对象。
 /// </summary>
 /// <param name="id">Id 属性的初始值。</param>
 /// <param name="etpId">EtpId 属性的初始值。</param>
 /// <param name="etpName">EtpName 属性的初始值。</param>
 /// <param name="activationCode">ActivationCode 属性的初始值。</param>
 /// <param name="activationEmail">ActivationEmail 属性的初始值。</param>
 /// <param name="activationStatus">ActivationStatus 属性的初始值。</param>
 /// <param name="createDate">CreateDate 属性的初始值。</param>
 public static Etp_Activation CreateEtp_Activation(global::System.Int32 id, global::System.Int32 etpId, global::System.String etpName, global::System.String activationCode, global::System.String activationEmail, global::System.Int32 activationStatus, global::System.DateTime createDate)
 {
     Etp_Activation etp_Activation = new Etp_Activation();
     etp_Activation.Id = id;
     etp_Activation.EtpId = etpId;
     etp_Activation.EtpName = etpName;
     etp_Activation.ActivationCode = activationCode;
     etp_Activation.ActivationEmail = activationEmail;
     etp_Activation.ActivationStatus = activationStatus;
     etp_Activation.CreateDate = createDate;
     return etp_Activation;
 }
Exemple #2
0
 /// <summary>
 /// 用于向 Etp_Activation EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToEtp_Activation(Etp_Activation etp_Activation)
 {
     base.AddObject("Etp_Activation", etp_Activation);
 }