/// <summary> /// Deprecated Method for adding a new object to the CompositionModel EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCompositionModel(CompositionModel compositionModel) { base.AddObject("CompositionModel", compositionModel); }
/// <summary> /// Create a new CompositionModel object. /// </summary> /// <param name="guid">Initial value of the guid property.</param> /// <param name="compositionGuid">Initial value of the compositionGuid property.</param> /// <param name="modelGuid">Initial value of the modelGuid property.</param> /// <param name="properties">Initial value of the properties property.</param> /// <param name="creation">Initial value of the creation property.</param> public static CompositionModel CreateCompositionModel(global::System.String guid, global::System.String compositionGuid, global::System.String modelGuid, global::System.String properties, global::System.DateTime creation) { CompositionModel compositionModel = new CompositionModel(); compositionModel.guid = guid; compositionModel.compositionGuid = compositionGuid; compositionModel.modelGuid = modelGuid; compositionModel.properties = properties; compositionModel.creation = creation; return compositionModel; }