コード例 #1
0
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        static void Main()
        {
            // THERE IS ALSO A MAIN MODULE IN Client.cs ... COMMENT THIS MAIN MODULE IF YOU ARE WORKING WITH CLIENT
            MasterTest mt = new MasterTest();

            mt.ExecuteAll();
        }
コード例 #2
0
ファイル: Test.cs プロジェクト: eliaquin/AgilisaTest
        public IEnumerable <string> Get()
        {
            var master = new MasterTest
            {
                Name    = "Lego",
                Details = new List <DetailsTest>
                {
                    new DetailsTest
                    {
                        ListItem = "Test"
                    }
                }
            };

            _masterTestService.Add(master);
            _masterTestService.SaveChanges();

            return(new string[] { "value1", "value2" });
        }
コード例 #3
0
 /// <summary>
 /// The main entry point for the application.
 /// </summary>
 static void Main()
 {
     // THERE IS ALSO A MAIN MODULE IN Client.cs ... COMMENT THIS MAIN MODULE IF YOU ARE WORKING WITH CLIENT
     MasterTest mt = new MasterTest();
     mt.ExecuteAll();
 }