Пример #1
0
 /// <summary>
 /// 用于向 sns_photo EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddTosns_photo(sns_photo sns_photo)
 {
     base.AddObject("sns_photo", sns_photo);
 }
Пример #2
0
 /// <summary>
 /// 创建新的 sns_photo 对象。
 /// </summary>
 /// <param name="id">id 属性的初始值。</param>
 /// <param name="status">status 属性的初始值。</param>
 /// <param name="size">size 属性的初始值。</param>
 /// <param name="privacy">privacy 属性的初始值。</param>
 /// <param name="order">order 属性的初始值。</param>
 /// <param name="isDel">isDel 属性的初始值。</param>
 public static sns_photo Createsns_photo(global::System.Int32 id, global::System.Byte status, global::System.Int32 size, global::System.Int32 privacy, global::System.Int32 order, global::System.Int16 isDel)
 {
     sns_photo sns_photo = new sns_photo();
     sns_photo.id = id;
     sns_photo.status = status;
     sns_photo.size = size;
     sns_photo.privacy = privacy;
     sns_photo.order = order;
     sns_photo.isDel = isDel;
     return sns_photo;
 }