Exemplo n.º 1
0
        /// <summary>
        /// Create a new NumberSequence object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="prime">Initial value of the Prime property.</param>
        /// <param name="composite">Initial value of the Composite property.</param>
        public static NumberSequence CreateNumberSequence(global::System.Int32 id, global::System.Int32 prime, global::System.Int32 composite)
        {
            NumberSequence numberSequence = new NumberSequence();

            numberSequence.Id        = id;
            numberSequence.Prime     = prime;
            numberSequence.Composite = composite;
            return(numberSequence);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new NumberSequence object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="prime">Initial value of the Prime property.</param>
 /// <param name="composite">Initial value of the Composite property.</param>
 public static NumberSequence CreateNumberSequence(global::System.Int32 id, global::System.Int32 prime, global::System.Int32 composite)
 {
     NumberSequence numberSequence = new NumberSequence();
     numberSequence.Id = id;
     numberSequence.Prime = prime;
     numberSequence.Composite = composite;
     return numberSequence;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the NumberSequences EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToNumberSequences(NumberSequence numberSequence)
 {
     base.AddObject("NumberSequences", numberSequence);
 }
Exemplo n.º 4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the NumberSequences EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToNumberSequences(NumberSequence numberSequence)
 {
     base.AddObject("NumberSequences", numberSequence);
 }