/// <summary>
 /// Create a new BuildTypes object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 public static BuildTypes CreateBuildTypes(global::System.Int32 id, global::System.String name)
 {
     BuildTypes buildTypes = new BuildTypes();
     buildTypes.ID = id;
     buildTypes.Name = name;
     return buildTypes;
 }
Esempio n. 2
0
 public void CreateBuildTypes(BuildTypes source)
 {
     context.BuildTypes.AddObject(source);
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the BuildTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBuildTypes(BuildTypes buildTypes)
 {
     base.AddObject("BuildTypes", buildTypes);
 }