Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Tags EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTags(Tag tag)
 {
     base.AddObject("Tags", tag);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Tag object.
 /// </summary>
 /// <param name="tagCode">Initial value of the TagCode property.</param>
 /// <param name="tagDescription">Initial value of the TagDescription property.</param>
 /// <param name="createBy">Initial value of the CreateBy property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 public static Tag CreateTag(global::System.String tagCode, global::System.String tagDescription, global::System.String createBy, global::System.DateTime createDate)
 {
     Tag tag = new Tag();
     tag.TagCode = tagCode;
     tag.TagDescription = tagDescription;
     tag.CreateBy = createBy;
     tag.CreateDate = createDate;
     return tag;
 }