/// <summary> /// Deprecated Method for adding a new object to the ExternalComponents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToExternalComponents(ExternalComponent externalComponent) { base.AddObject("ExternalComponents", externalComponent); }
/// <summary> /// Create a new ExternalComponent object. /// </summary> /// <param name="externalComponentID">Initial value of the ExternalComponentID property.</param> /// <param name="componentName">Initial value of the ComponentName property.</param> /// <param name="componentVersion">Initial value of the ComponentVersion property.</param> public static ExternalComponent CreateExternalComponent(global::System.Guid externalComponentID, global::System.String componentName, global::System.String componentVersion) { ExternalComponent externalComponent = new ExternalComponent(); externalComponent.ExternalComponentID = externalComponentID; externalComponent.ComponentName = componentName; externalComponent.ComponentVersion = componentVersion; return externalComponent; }