示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the StructureTemplates EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStructureTemplates(StructureTemplate structureTemplate)
 {
     base.AddObject("StructureTemplates", structureTemplate);
 }
示例#2
0
 /// <summary>
 /// Create a new StructureTemplate object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="structureTypeID">Initial value of the StructureTypeID property.</param>
 /// <param name="structureTags">Initial value of the StructureTags property.</param>
 /// <param name="version">Initial value of the Version property.</param>
 public static StructureTemplate CreateStructureTemplate(global::System.Int64 id, global::System.String name, global::System.Int64 structureTypeID, global::System.String structureTags, global::System.Byte[] version)
 {
     StructureTemplate structureTemplate = new StructureTemplate();
     structureTemplate.ID = id;
     structureTemplate.Name = name;
     structureTemplate.StructureTypeID = structureTypeID;
     structureTemplate.StructureTags = structureTags;
     structureTemplate.Version = version;
     return structureTemplate;
 }