コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Kinds EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToKinds(Kind kind)
 {
     base.AddObject("Kinds", kind);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Kind object.
 /// </summary>
 /// <param name="kindId">Initial value of the KindId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="pic">Initial value of the Pic property.</param>
 public static Kind CreateKind(global::System.Int16 kindId, global::System.String name, global::System.String pic)
 {
     Kind kind = new Kind();
     kind.KindId = kindId;
     kind.Name = name;
     kind.Pic = pic;
     return kind;
 }