Exemplo n.º 1
0
        /// <summary>
        /// Create a new Syndicat object.
        /// </summary>
        /// <param name="syndicatID">Initial value of the SyndicatID property.</param>
        /// <param name="nom">Initial value of the Nom property.</param>
        public static Syndicat CreateSyndicat(global::System.Int32 syndicatID, global::System.String nom)
        {
            Syndicat syndicat = new Syndicat();

            syndicat.SyndicatID = syndicatID;
            syndicat.Nom        = nom;
            return(syndicat);
        }
 /// <summary>
 /// Deprecated Method for adding a new object to the SyndicatSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSyndicatSet(Syndicat syndicat)
 {
     base.AddObject("SyndicatSet", syndicat);
 }