/// <summary> /// Create a new Plugin object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="hostAdress">Initial value of the HostAdress property.</param> /// <param name="pluginTypeID">Initial value of the PluginTypeID property.</param> /// <param name="triggerID">Initial value of the TriggerID property.</param> public static Plugin CreatePlugin(global::System.Int32 id, global::System.String hostAdress, global::System.Int32 pluginTypeID, global::System.Int32 triggerID) { Plugin plugin = new Plugin(); plugin.ID = id; plugin.HostAdress = hostAdress; plugin.PluginTypeID = pluginTypeID; plugin.TriggerID = triggerID; return plugin; }
/// <summary> /// Deprecated Method for adding a new object to the Plugin EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPlugin(Plugin plugin) { base.AddObject("Plugin", plugin); }