Ejemplo n.º 1
0
 /// <summary>
 /// Create a new SysBulletin object.
 /// </summary>
 /// <param name="bulletinID">Initial value of the BulletinID property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="content">Initial value of the Content property.</param>
 /// <param name="audienceType">Initial value of the AudienceType property.</param>
 /// <param name="effectiveDate">Initial value of the EffectiveDate property.</param>
 /// <param name="createTime">Initial value of the CreateTime property.</param>
 /// <param name="dataChange_LastTime">Initial value of the DataChange_LastTime property.</param>
 /// <param name="expireTime">Initial value of the ExpireTime property.</param>
 public static SysBulletin CreateSysBulletin(global::System.Int32 bulletinID, global::System.String title, global::System.String content, global::System.String audienceType, global::System.DateTime effectiveDate, global::System.DateTime createTime, global::System.DateTime dataChange_LastTime, global::System.DateTime expireTime)
 {
     SysBulletin sysBulletin = new SysBulletin();
     sysBulletin.BulletinID = bulletinID;
     sysBulletin.Title = title;
     sysBulletin.Content = content;
     sysBulletin.AudienceType = audienceType;
     sysBulletin.EffectiveDate = effectiveDate;
     sysBulletin.CreateTime = createTime;
     sysBulletin.DataChange_LastTime = dataChange_LastTime;
     sysBulletin.ExpireTime = expireTime;
     return sysBulletin;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SysBulletin EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSysBulletin(SysBulletin sysBulletin)
 {
     base.AddObject("SysBulletin", sysBulletin);
 }