コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Descriptors EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDescriptors(Descriptor descriptor)
 {
     base.AddObject("Descriptors", descriptor);
 }
コード例 #2
0
 /// <summary>
 /// Create a new Descriptor object.
 /// </summary>
 /// <param name="descriptorID">Initial value of the DescriptorID property.</param>
 /// <param name="descriptorName">Initial value of the DescriptorName property.</param>
 public static Descriptor CreateDescriptor(global::System.Int32 descriptorID, global::System.String descriptorName)
 {
     Descriptor descriptor = new Descriptor();
     descriptor.DescriptorID = descriptorID;
     descriptor.DescriptorName = descriptorName;
     return descriptor;
 }