Exemplo n.º 1
0
        /// <summary>
        /// Create a new porUrlMapping object.
        /// </summary>
        /// <param name="idWebSite">Initial value of the IdWebSite property.</param>
        /// <param name="urlFrom">Initial value of the UrlFrom property.</param>
        /// <param name="urlTo">Initial value of the UrlTo property.</param>
        public static porUrlMapping CreateporUrlMapping(global::System.Int32 idWebSite, global::System.String urlFrom, global::System.String urlTo)
        {
            porUrlMapping porUrlMapping = new porUrlMapping();

            porUrlMapping.IdWebSite = idWebSite;
            porUrlMapping.UrlFrom   = urlFrom;
            porUrlMapping.UrlTo     = urlTo;
            return(porUrlMapping);
        }
Exemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the porUrlMappings EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToporUrlMappings(porUrlMapping porUrlMapping)
 {
     base.AddObject("porUrlMappings", porUrlMapping);
 }