Exemple #1
0
        /// <summary>
        /// Create a new Sexes object.
        /// </summary>
        /// <param name="sexeID">Initial value of the SexeID property.</param>
        /// <param name="nom">Initial value of the Nom property.</param>
        public static Sexes CreateSexes(global::System.Int32 sexeID, global::System.String nom)
        {
            Sexes sexes = new Sexes();

            sexes.SexeID = sexeID;
            sexes.Nom    = nom;
            return(sexes);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the Sexes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSexes(Sexes sexes)
 {
     base.AddObject("Sexes", sexes);
 }