コード例 #1
0
        /// <summary>
        /// Create a new REGISTRATION_TABLE1 object.
        /// </summary>
        /// <param name="eNROLLMENT_NO">Initial value of the ENROLLMENT_NO property.</param>
        /// <param name="fATHER_NAME">Initial value of the FATHER_NAME property.</param>
        /// <param name="mOTHER_NAME">Initial value of the MOTHER_NAME property.</param>
        /// <param name="pHONE_NO2">Initial value of the PHONE_NO2 property.</param>
        /// <param name="oCCUPATION">Initial value of the OCCUPATION property.</param>
        /// <param name="oFFICE">Initial value of the OFFICE property.</param>
        /// <param name="pERMANENT_ADDRESS">Initial value of the PERMANENT_ADDRESS property.</param>
        /// <param name="iMAGE">Initial value of the IMAGE property.</param>
        /// <param name="fRIEND1_NAME">Initial value of the FRIEND1_NAME property.</param>
        /// <param name="fRIEND1_CLASS">Initial value of the FRIEND1_CLASS property.</param>
        /// <param name="fRIEND1_COURSE">Initial value of the FRIEND1_COURSE property.</param>
        /// <param name="fRIEND1_ROLL_NO">Initial value of the FRIEND1_ROLL_NO property.</param>
        /// <param name="fRIEND1_PHONE_NO">Initial value of the FRIEND1_PHONE_NO property.</param>
        /// <param name="fRIEND2_NAME">Initial value of the FRIEND2_NAME property.</param>
        /// <param name="fRIEND2_CLASS">Initial value of the FRIEND2_CLASS property.</param>
        /// <param name="fRIEND2_COURSE">Initial value of the FRIEND2_COURSE property.</param>
        /// <param name="fRIEND2_ROLL_NO">Initial value of the FRIEND2_ROLL_NO property.</param>
        /// <param name="fRIEND2_PHONE_NO">Initial value of the FRIEND2_PHONE_NO property.</param>
        /// <param name="pICIMAGE">Initial value of the PICIMAGE property.</param>
        public static REGISTRATION_TABLE1 CreateREGISTRATION_TABLE1(global::System.String eNROLLMENT_NO, global::System.String fATHER_NAME, global::System.String mOTHER_NAME, global::System.String pHONE_NO2, global::System.String oCCUPATION, global::System.String oFFICE, global::System.String pERMANENT_ADDRESS, global::System.String iMAGE, global::System.String fRIEND1_NAME, global::System.String fRIEND1_CLASS, global::System.String fRIEND1_COURSE, global::System.String fRIEND1_ROLL_NO, global::System.String fRIEND1_PHONE_NO, global::System.String fRIEND2_NAME, global::System.String fRIEND2_CLASS, global::System.String fRIEND2_COURSE, global::System.String fRIEND2_ROLL_NO, global::System.String fRIEND2_PHONE_NO, global::System.Byte[] pICIMAGE)
        {
            REGISTRATION_TABLE1 rEGISTRATION_TABLE1 = new REGISTRATION_TABLE1();

            rEGISTRATION_TABLE1.ENROLLMENT_NO     = eNROLLMENT_NO;
            rEGISTRATION_TABLE1.FATHER_NAME       = fATHER_NAME;
            rEGISTRATION_TABLE1.MOTHER_NAME       = mOTHER_NAME;
            rEGISTRATION_TABLE1.PHONE_NO2         = pHONE_NO2;
            rEGISTRATION_TABLE1.OCCUPATION        = oCCUPATION;
            rEGISTRATION_TABLE1.OFFICE            = oFFICE;
            rEGISTRATION_TABLE1.PERMANENT_ADDRESS = pERMANENT_ADDRESS;
            rEGISTRATION_TABLE1.IMAGE             = iMAGE;
            rEGISTRATION_TABLE1.FRIEND1_NAME      = fRIEND1_NAME;
            rEGISTRATION_TABLE1.FRIEND1_CLASS     = fRIEND1_CLASS;
            rEGISTRATION_TABLE1.FRIEND1_COURSE    = fRIEND1_COURSE;
            rEGISTRATION_TABLE1.FRIEND1_ROLL_NO   = fRIEND1_ROLL_NO;
            rEGISTRATION_TABLE1.FRIEND1_PHONE_NO  = fRIEND1_PHONE_NO;
            rEGISTRATION_TABLE1.FRIEND2_NAME      = fRIEND2_NAME;
            rEGISTRATION_TABLE1.FRIEND2_CLASS     = fRIEND2_CLASS;
            rEGISTRATION_TABLE1.FRIEND2_COURSE    = fRIEND2_COURSE;
            rEGISTRATION_TABLE1.FRIEND2_ROLL_NO   = fRIEND2_ROLL_NO;
            rEGISTRATION_TABLE1.FRIEND2_PHONE_NO  = fRIEND2_PHONE_NO;
            rEGISTRATION_TABLE1.PICIMAGE          = pICIMAGE;
            return(rEGISTRATION_TABLE1);
        }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the REGISTRATION_TABLE1 EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToREGISTRATION_TABLE1(REGISTRATION_TABLE1 rEGISTRATION_TABLE1)
 {
     base.AddObject("REGISTRATION_TABLE1", rEGISTRATION_TABLE1);
 }