Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the CompositionLink EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToCompositionLink(CompositionLink compositionLink)
 {
     base.AddObject("CompositionLink", compositionLink);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new CompositionLink object.
 /// </summary>
 /// <param name="guid">Initial value of the guid property.</param>
 /// <param name="compositionGuid">Initial value of the compositionGuid property.</param>
 /// <param name="sourceCmGuid">Initial value of the sourceCmGuid property.</param>
 /// <param name="targetCmGuid">Initial value of the targetCmGuid property.</param>
 /// <param name="sourceQuantity">Initial value of the sourceQuantity property.</param>
 /// <param name="targetQuantity">Initial value of the targetQuantity property.</param>
 /// <param name="sourceElementSet">Initial value of the sourceElementSet property.</param>
 /// <param name="targetElementSet">Initial value of the targetElementSet property.</param>
 /// <param name="creation">Initial value of the creation property.</param>
 public static CompositionLink CreateCompositionLink(global::System.String guid, global::System.String compositionGuid, global::System.String sourceCmGuid, global::System.String targetCmGuid, global::System.String sourceQuantity, global::System.String targetQuantity, global::System.String sourceElementSet, global::System.String targetElementSet, global::System.DateTime creation)
 {
     CompositionLink compositionLink = new CompositionLink();
     compositionLink.guid = guid;
     compositionLink.compositionGuid = compositionGuid;
     compositionLink.sourceCmGuid = sourceCmGuid;
     compositionLink.targetCmGuid = targetCmGuid;
     compositionLink.sourceQuantity = sourceQuantity;
     compositionLink.targetQuantity = targetQuantity;
     compositionLink.sourceElementSet = sourceElementSet;
     compositionLink.targetElementSet = targetElementSet;
     compositionLink.creation = creation;
     return compositionLink;
 }