Пример #1
0
        /// <summary>
        /// Create a new SOP object.
        /// </summary>
        /// <param name="sOPID">Initial value of the SOPID property.</param>
        /// <param name="name">Initial value of the Name property.</param>
        /// <param name="bureauID">Initial value of the BureauID property.</param>
        public static SOP CreateSOP(global::System.Int32 sOPID, global::System.String name, global::System.Int32 bureauID)
        {
            SOP sOP = new SOP();

            sOP.SOPID    = sOPID;
            sOP.Name     = name;
            sOP.BureauID = bureauID;
            return(sOP);
        }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SOPs EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSOPs(SOP sOP)
 {
     base.AddObject("SOPs", sOP);
 }