Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ScriptEventModel EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToScriptEventModel(ScriptEventModel scriptEventModel)
 {
     base.AddObject("ScriptEventModel", scriptEventModel);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new ScriptEventModel object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="messageType">Initial value of the MessageType property.</param>
 /// <param name="animalType">Initial value of the AnimalType property.</param>
 public static ScriptEventModel CreateScriptEventModel(global::System.Int32 id, global::System.Int32 messageType, global::System.Int32 animalType)
 {
     ScriptEventModel scriptEventModel = new ScriptEventModel();
     scriptEventModel.Id = id;
     scriptEventModel.MessageType = messageType;
     scriptEventModel.AnimalType = animalType;
     return scriptEventModel;
 }