Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ModelType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToModelType(ModelType modelType)
 {
     base.AddObject("ModelType", modelType);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new ModelType object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="typeName">Initial value of the typeName property.</param>
 /// <param name="isSub">Initial value of the isSub property.</param>
 /// <param name="isTop">Initial value of the isTop property.</param>
 public static ModelType CreateModelType(global::System.Int32 id, global::System.String typeName, global::System.Boolean isSub, global::System.Boolean isTop)
 {
     ModelType modelType = new ModelType();
     modelType.id = id;
     modelType.typeName = typeName;
     modelType.isSub = isSub;
     modelType.isTop = isTop;
     return modelType;
 }