Esempio n. 1
0
 /// <summary>
 /// Create a new Registry object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="regKey">Initial value of the RegKey property.</param>
 /// <param name="regValue">Initial value of the RegValue property.</param>
 public static Registry CreateRegistry(global::System.Int32 id, global::System.String regKey, global::System.String regValue)
 {
     Registry registry = new Registry();
     registry.Id = id;
     registry.RegKey = regKey;
     registry.RegValue = regValue;
     return registry;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Registries EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRegistries(Registry registry)
 {
     base.AddObject("Registries", registry);
 }