/// <summary> /// Create a new porControl object. /// </summary> /// <param name="idControl">Initial value of the IdControl property.</param> /// <param name="idModule">Initial value of the IdModule property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="route">Initial value of the Route property.</param> public static porControl CreateporControl(global::System.Int32 idControl, global::System.Int32 idModule, global::System.String name, global::System.String route) { porControl porControl = new porControl(); porControl.IdControl = idControl; porControl.IdModule = idModule; porControl.Name = name; porControl.Route = route; return(porControl); }
/// <summary> /// Deprecated Method for adding a new object to the porControls EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToporControls(porControl porControl) { base.AddObject("porControls", porControl); }