예제 #1
0
 /// <summary>
 /// 创建新的 CrawlSightInfo 对象。
 /// </summary>
 /// <param name="parkID">ParkID 属性的初始值。</param>
 /// <param name="classID">ClassID 属性的初始值。</param>
 /// <param name="voIndex">VoIndex 属性的初始值。</param>
 /// <param name="adIndex">AdIndex 属性的初始值。</param>
 /// <param name="viCount">ViCount 属性的初始值。</param>
 /// <param name="province">Province 属性的初始值。</param>
 /// <param name="city">City 属性的初始值。</param>
 /// <param name="userID">UserID 属性的初始值。</param>
 /// <param name="addTime">AddTime 属性的初始值。</param>
 /// <param name="aud">Aud 属性的初始值。</param>
 /// <param name="generalize">Generalize 属性的初始值。</param>
 /// <param name="meIndex">MeIndex 属性的初始值。</param>
 /// <param name="isDelete">IsDelete 属性的初始值。</param>
 public static CrawlSightInfo CreateCrawlSightInfo(global::System.Int32 parkID, global::System.Int32 classID, global::System.Double voIndex, global::System.Double adIndex, global::System.Int32 viCount, global::System.String province, global::System.String city, global::System.Int32 userID, global::System.DateTime addTime, global::System.Int32 aud, global::System.Int32 generalize, global::System.Double meIndex, global::System.Int32 isDelete)
 {
     CrawlSightInfo crawlSightInfo = new CrawlSightInfo();
     crawlSightInfo.ParkID = parkID;
     crawlSightInfo.ClassID = classID;
     crawlSightInfo.VoIndex = voIndex;
     crawlSightInfo.AdIndex = adIndex;
     crawlSightInfo.ViCount = viCount;
     crawlSightInfo.Province = province;
     crawlSightInfo.City = city;
     crawlSightInfo.UserID = userID;
     crawlSightInfo.AddTime = addTime;
     crawlSightInfo.Aud = aud;
     crawlSightInfo.Generalize = generalize;
     crawlSightInfo.MeIndex = meIndex;
     crawlSightInfo.IsDelete = isDelete;
     return crawlSightInfo;
 }
예제 #2
0
 /// <summary>
 /// 用于向 CrawlSightInfo EntitySet 添加新对象的方法,已弃用。请考虑改用关联的 ObjectSet&lt;T&gt; 属性的 .Add 方法。
 /// </summary>
 public void AddToCrawlSightInfo(CrawlSightInfo crawlSightInfo)
 {
     base.AddObject("CrawlSightInfo", crawlSightInfo);
 }