Example #1
0
        /// <summary>
        /// Create a new TEST_SYSTEM object.
        /// </summary>
        /// <param name="id">Initial value of the ID property.</param>
        public static TEST_SYSTEM CreateTEST_SYSTEM(global::System.Int32 id)
        {
            TEST_SYSTEM tEST_SYSTEM = new TEST_SYSTEM();

            tEST_SYSTEM.ID = id;
            return(tEST_SYSTEM);
        }
Example #2
0
        public static object cInsertEntity(MODEL.Query obj)
        {
            Entity.silkspanEntities db = new Entity.silkspanEntities();
            Entity.TEST_SYSTEM      ob = new  Entity.TEST_SYSTEM();
            ob.NAME        = obj.NAME;
            ob.SYSTEM_NAME = "entity";
            ob.EMAIL       = obj.EMAIL;
            db.TEST_SYSTEM.AddObject(ob);
            db.SaveChanges();

            return(true);
        }
Example #3
0
        public static object cInsertEntity(MODEL.Query obj)
        {
            Entity.silkspanEntities db = new Entity.silkspanEntities();
            Entity.TEST_SYSTEM ob = new  Entity.TEST_SYSTEM();
            ob.NAME = obj.NAME;
            ob.SYSTEM_NAME = "entity";
            ob.EMAIL = obj.EMAIL; 
            db.TEST_SYSTEM.AddObject(ob);
            db.SaveChanges();

            return true;
        }
Example #4
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TEST_SYSTEM EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTEST_SYSTEM(TEST_SYSTEM tEST_SYSTEM)
 {
     base.AddObject("TEST_SYSTEM", tEST_SYSTEM);
 }
Example #5
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TEST_SYSTEM EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTEST_SYSTEM(TEST_SYSTEM tEST_SYSTEM)
 {
     base.AddObject("TEST_SYSTEM", tEST_SYSTEM);
 }
Example #6
0
 /// <summary>
 /// Create a new TEST_SYSTEM object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 public static TEST_SYSTEM CreateTEST_SYSTEM(global::System.Int32 id)
 {
     TEST_SYSTEM tEST_SYSTEM = new TEST_SYSTEM();
     tEST_SYSTEM.ID = id;
     return tEST_SYSTEM;
 }