Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Patterns EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPatterns(Pattern pattern)
 {
     base.AddObject("Patterns", pattern);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Pattern object.
 /// </summary>
 /// <param name="patternId">Initial value of the PatternId property.</param>
 public static Pattern CreatePattern(global::System.Int32 patternId)
 {
     Pattern pattern = new Pattern();
     pattern.PatternId = patternId;
     return pattern;
 }