コード例 #1
0
        /// <summary>
        /// Create a new FicheContact object.
        /// </summary>
        /// <param name="ficheContactID">Initial value of the FicheContactID property.</param>
        /// <param name="contactID">Initial value of the ContactID property.</param>
        /// <param name="noCivique">Initial value of the NoCivique property.</param>
        /// <param name="rue">Initial value of the Rue property.</param>
        /// <param name="ville">Initial value of the Ville property.</param>
        /// <param name="region">Initial value of the Region property.</param>
        /// <param name="pays">Initial value of the Pays property.</param>
        /// <param name="valide">Initial value of the Valide property.</param>
        /// <param name="telephone1">Initial value of the Telephone1 property.</param>
        /// <param name="typeTelephone1">Initial value of the TypeTelephone1 property.</param>
        /// <param name="telephone2">Initial value of the Telephone2 property.</param>
        /// <param name="typeTelephone2">Initial value of the TypeTelephone2 property.</param>
        /// <param name="notes">Initial value of the Notes property.</param>
        /// <param name="dateInsert">Initial value of the DateInsert property.</param>
        /// <param name="auteurInsert">Initial value of the AuteurInsert property.</param>
        /// <param name="telecopieur">Initial value of the Telecopieur property.</param>
        /// <param name="courriel">Initial value of the Courriel property.</param>
        public static FicheContact CreateFicheContact(global::System.Int32 ficheContactID, global::System.Int32 contactID, global::System.String noCivique, global::System.String rue, global::System.String ville, global::System.String region, global::System.String pays, global::System.Boolean valide, global::System.String telephone1, global::System.Int32 typeTelephone1, global::System.String telephone2, global::System.Int32 typeTelephone2, global::System.String notes, global::System.DateTime dateInsert, global::System.Int32 auteurInsert, global::System.String telecopieur, global::System.String courriel)
        {
            FicheContact ficheContact = new FicheContact();

            ficheContact.FicheContactID = ficheContactID;
            ficheContact.ContactID      = contactID;
            ficheContact.NoCivique      = noCivique;
            ficheContact.Rue            = rue;
            ficheContact.Ville          = ville;
            ficheContact.Region         = region;
            ficheContact.Pays           = pays;
            ficheContact.Valide         = valide;
            ficheContact.Telephone1     = telephone1;
            ficheContact.TypeTelephone1 = typeTelephone1;
            ficheContact.Telephone2     = telephone2;
            ficheContact.TypeTelephone2 = typeTelephone2;
            ficheContact.Notes          = notes;
            ficheContact.DateInsert     = dateInsert;
            ficheContact.AuteurInsert   = auteurInsert;
            ficheContact.Telecopieur    = telecopieur;
            ficheContact.Courriel       = courriel;
            return(ficheContact);
        }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the FicheContactSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFicheContactSet(FicheContact ficheContact)
 {
     base.AddObject("FicheContactSet", ficheContact);
 }