Example #1
0
 /// <summary>
 /// 用于向 V_UserShopComment EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToV_UserShopComment(V_UserShopComment v_UserShopComment)
 {
     base.AddObject("V_UserShopComment", v_UserShopComment);
 }
Example #2
0
 /// <summary>
 /// 创建新的 V_UserShopComment 对象。
 /// </summary>
 /// <param name="userName">UserName 属性的初始值。</param>
 /// <param name="userId">UserId 属性的初始值。</param>
 /// <param name="shopId">ShopId 属性的初始值。</param>
 /// <param name="comment">Comment 属性的初始值。</param>
 /// <param name="stars">Stars 属性的初始值。</param>
 /// <param name="createTime">CreateTime 属性的初始值。</param>
 /// <param name="shopName">ShopName 属性的初始值。</param>
 public static V_UserShopComment CreateV_UserShopComment(global::System.String userName, global::System.Int32 userId, global::System.Int32 shopId, global::System.String comment, global::System.Int16 stars, global::System.DateTime createTime, global::System.String shopName)
 {
     V_UserShopComment v_UserShopComment = new V_UserShopComment();
     v_UserShopComment.UserName = userName;
     v_UserShopComment.UserId = userId;
     v_UserShopComment.ShopId = shopId;
     v_UserShopComment.Comment = comment;
     v_UserShopComment.Stars = stars;
     v_UserShopComment.CreateTime = createTime;
     v_UserShopComment.ShopName = shopName;
     return v_UserShopComment;
 }