Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the EcardTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEcardTypes(EcardTypes ecardTypes)
 {
     base.AddObject("EcardTypes", ecardTypes);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new EcardTypes object.
 /// </summary>
 /// <param name="ect_id">Initial value of the ect_id property.</param>
 /// <param name="ect_name">Initial value of the ect_name property.</param>
 /// <param name="ect_phrase">Initial value of the ect_phrase property.</param>
 /// <param name="ect_type">Initial value of the ect_type property.</param>
 /// <param name="ect_active">Initial value of the ect_active property.</param>
 public static EcardTypes CreateEcardTypes(global::System.Int32 ect_id, global::System.String ect_name, global::System.String ect_phrase, global::System.Int32 ect_type, global::System.Boolean ect_active)
 {
     EcardTypes ecardTypes = new EcardTypes();
     ecardTypes.ect_id = ect_id;
     ecardTypes.ect_name = ect_name;
     ecardTypes.ect_phrase = ect_phrase;
     ecardTypes.ect_type = ect_type;
     ecardTypes.ect_active = ect_active;
     return ecardTypes;
 }