Beispiel #1
0
        /// <summary>
        /// Create a new Convict object.
        /// </summary>
        /// <param name="email">Initial value of the Email property.</param>
        /// <param name="createDate">Initial value of the CreateDate property.</param>
        /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
        /// <param name="total">Initial value of the Total property.</param>
        public static Convict CreateConvict(global::System.String email, global::System.DateTime createDate, global::System.DateTime modifiedDate, global::System.String total)
        {
            Convict convict = new Convict();

            convict.Email        = email;
            convict.CreateDate   = createDate;
            convict.ModifiedDate = modifiedDate;
            convict.Total        = total;
            return(convict);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the Convicts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToConvicts(Convict convict)
 {
     base.AddObject("Convicts", convict);
 }
Beispiel #3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Convicts EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToConvicts(Convict convict)
 {
     base.AddObject("Convicts", convict);
 }
 /// <summary>
 /// Create a new Convict object.
 /// </summary>
 /// <param name="email">Initial value of the Email property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="modifiedDate">Initial value of the ModifiedDate property.</param>
 /// <param name="total">Initial value of the Total property.</param>
 public static Convict CreateConvict(global::System.String email, global::System.DateTime createDate, global::System.DateTime modifiedDate, global::System.String total)
 {
     Convict convict = new Convict();
     convict.Email = email;
     convict.CreateDate = createDate;
     convict.ModifiedDate = modifiedDate;
     convict.Total = total;
     return convict;
 }