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