Exemplo n.º 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;
 }
Exemplo n.º 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);
 }