Example #1
0
 /// <summary>
 /// Create a new url object.
 /// </summary>
 /// <param name="shortUrl">Initial value of the ShortUrl property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="createdBy">Initial value of the CreatedBy property.</param>
 /// <param name="realUrl">Initial value of the RealUrl property.</param>
 public static url Createurl(global::System.String shortUrl, global::System.DateTime createDate, global::System.String createdBy, global::System.String realUrl)
 {
     url url = new url();
     url.ShortUrl = shortUrl;
     url.CreateDate = createDate;
     url.CreatedBy = createdBy;
     url.RealUrl = realUrl;
     return url;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the url EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTourl(url url)
 {
     base.AddObject("url", url);
 }