Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ModelProperty EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToModelProperty(ModelProperty modelProperty)
 {
     base.AddObject("ModelProperty", modelProperty);
 }
Пример #2
0
 /// <summary>
 /// Create a new ModelProperty object.
 /// </summary>
 /// <param name="modelGuid">Initial value of the modelGuid property.</param>
 /// <param name="key">Initial value of the key property.</param>
 /// <param name="type">Initial value of the type property.</param>
 /// <param name="creation">Initial value of the creation property.</param>
 public static ModelProperty CreateModelProperty(global::System.String modelGuid, global::System.String key, global::System.SByte type, global::System.DateTime creation)
 {
     ModelProperty modelProperty = new ModelProperty();
     modelProperty.modelGuid = modelGuid;
     modelProperty.key = key;
     modelProperty.type = type;
     modelProperty.creation = creation;
     return modelProperty;
 }