Exemplo n.º 1
0
 /// <summary>
 /// 创建新的 sns_event 对象。
 /// </summary>
 /// <param name="id">id 属性的初始值。</param>
 /// <param name="joinCount">joinCount 属性的初始值。</param>
 /// <param name="attentionCount">attentionCount 属性的初始值。</param>
 /// <param name="limitCount">limitCount 属性的初始值。</param>
 /// <param name="commentCount">commentCount 属性的初始值。</param>
 /// <param name="coverId">coverId 属性的初始值。</param>
 /// <param name="optsId">optsId 属性的初始值。</param>
 /// <param name="feedId">feedId 属性的初始值。</param>
 public static sns_event Createsns_event(global::System.Int32 id, global::System.Int32 joinCount, global::System.Int32 attentionCount, global::System.Int32 limitCount, global::System.Int32 commentCount, global::System.Int32 coverId, global::System.Int32 optsId, global::System.Int32 feedId)
 {
     sns_event sns_event = new sns_event();
     sns_event.id = id;
     sns_event.joinCount = joinCount;
     sns_event.attentionCount = attentionCount;
     sns_event.limitCount = limitCount;
     sns_event.commentCount = commentCount;
     sns_event.coverId = coverId;
     sns_event.optsId = optsId;
     sns_event.feedId = feedId;
     return sns_event;
 }
Exemplo n.º 2
0
 /// <summary>
 /// 用于向 sns_event EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTosns_event(sns_event sns_event)
 {
     base.AddObject("sns_event", sns_event);
 }