Example #1
0
        /// <summary>
        /// Create a new Program1 object.
        /// </summary>
        /// <param name="nID">Initial value of NID.</param>
        /// <param name="egypt1NID">Initial value of Egypt1NID.</param>
        /// <param name="nQualificationKey">Initial value of NQualificationKey.</param>
        /// <param name="robotic1NID">Initial value of Robotic1NID.</param>
        /// <param name="supermarket1NID">Initial value of Supermarket1NID.</param>
        public static Program1 CreateProgram1(int nID, int egypt1NID, int nQualificationKey, int robotic1NID, int supermarket1NID)
        {
            Program1 program1 = new Program1();

            program1.NID               = nID;
            program1.Egypt1NID         = egypt1NID;
            program1.NQualificationKey = nQualificationKey;
            program1.Robotic1NID       = robotic1NID;
            program1.Supermarket1NID   = supermarket1NID;
            return(program1);
        }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Program1s EntitySet.
 /// </summary>
 public void AddToProgram1s(Program1 program1)
 {
     base.AddObject("Program1s", program1);
 }