protected override void AddValue(string value)
 {
     QuartersType qt = new QuartersType();
     qt.idQuartersType = FreeIndex;
     qt.nameQuartersType = value;
     EntitiesHolder.Entities.QuartersType.AddObject(qt);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the QuartersType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToQuartersType(QuartersType quartersType)
 {
     base.AddObject("QuartersType", quartersType);
 }
Exemplo n.º 3
0
 /// <summary>
 /// Create a new QuartersType object.
 /// </summary>
 /// <param name="idQuartersType">Initial value of the idQuartersType property.</param>
 /// <param name="nameQuartersType">Initial value of the nameQuartersType property.</param>
 public static QuartersType CreateQuartersType(global::System.Decimal idQuartersType, global::System.String nameQuartersType)
 {
     QuartersType quartersType = new QuartersType();
     quartersType.idQuartersType = idQuartersType;
     quartersType.nameQuartersType = nameQuartersType;
     return quartersType;
 }