示例#1
0
 public FirstObject(string firstName, string secondName, string poNumber, decimal price, DateTime skipDateTime, SecondObject secondObjectEntity)
 {
     this.FirstName          = firstName;
     this.SecondName         = secondName;
     this.PoNumber           = poNumber;
     this.Price              = price;
     this.SkipDateTime       = skipDateTime;
     this.SecondObjectEntity = secondObjectEntity;
     SecondObjects           = new List <SecondObject>();
     SecondObjects.Add(new SecondObject());
     SecondObjects.Add(new SecondObject());
     SecondObjects.Add(new SecondObject());
     IntCollection = new List <int>()
     {
         1, 5, 6
     };
     IntArr = new int[]
     {
         1, 2, 3
     };
     SecondObjectArr = new SecondObject[]
     {
         new SecondObject()
     };
 }
示例#2
0
 public FirstObject(string firstName, string secondName, string poNumber, decimal price, DateTime skipDateTime, SecondObject secondObjectEntity)
 {
     this.FirstName = firstName;
     this.SecondName = secondName;
     this.PoNumber = poNumber;
     this.Price = price;
     this.SkipDateTime = skipDateTime;
     this.SecondObjectEntity = secondObjectEntity;
     SecondObjects = new List<SecondObject>();
     SecondObjects.Add(new SecondObject());
     SecondObjects.Add(new SecondObject());
     SecondObjects.Add(new SecondObject());
     IntCollection = new List<int>()
     {
         1, 5, 6
     };
     IntArr = new int[]
     {
         1, 2, 3
     };
     SecondObjectArr = new SecondObject[]
     {
         new SecondObject()
     };
 }