示例#1
0
        /// <summary>
        /// Create a new AllPages object.
        /// </summary>
        /// <param name="id">Initial value of the Id property.</param>
        /// <param name="logo">Initial value of the Logo property.</param>
        /// <param name="colorR">Initial value of the ColorR property.</param>
        /// <param name="colorG">Initial value of the ColorG property.</param>
        /// <param name="colorB">Initial value of the ColorB property.</param>
        public static AllPages CreateAllPages(global::System.Int32 id, global::System.String logo, global::System.Int32 colorR, global::System.Int32 colorG, global::System.Int32 colorB)
        {
            AllPages allPages = new AllPages();

            allPages.Id     = id;
            allPages.Logo   = logo;
            allPages.ColorR = colorR;
            allPages.ColorG = colorG;
            allPages.ColorB = colorB;
            return(allPages);
        }
示例#2
0
 /// <summary>
 /// Create a new AllPages object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="logo">Initial value of the Logo property.</param>
 /// <param name="colorR">Initial value of the ColorR property.</param>
 /// <param name="colorG">Initial value of the ColorG property.</param>
 /// <param name="colorB">Initial value of the ColorB property.</param>
 public static AllPages CreateAllPages(global::System.Int32 id, global::System.String logo, global::System.Int32 colorR, global::System.Int32 colorG, global::System.Int32 colorB)
 {
     AllPages allPages = new AllPages();
     allPages.Id = id;
     allPages.Logo = logo;
     allPages.ColorR = colorR;
     allPages.ColorG = colorG;
     allPages.ColorB = colorB;
     return allPages;
 }
示例#3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AllPagesSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAllPagesSet(AllPages allPages)
 {
     base.AddObject("AllPagesSet", allPages);
 }
示例#4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the AllPagesSet EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToAllPagesSet(AllPages allPages)
 {
     base.AddObject("AllPagesSet", allPages);
 }