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