コード例 #1
0
 /// <summary>
 /// Create a new Definition object.
 /// </summary>
 /// <param name="guid">Initial value of the Guid property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static Definition CreateDefinition(global::System.Guid guid, global::System.String name)
 {
     Definition definition = new Definition();
     definition.Guid = guid;
     definition.Name = name;
     return definition;
 }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Definitions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToDefinitions(Definition definition)
 {
     base.AddObject("Definitions", definition);
 }