示例#1
0
        private void makeFakeSize(long eventId)
        {
            _size s = new _size();

            s.id          = 1; // not meaningful
            s.description = "";
            Sizes.Add(s);
        }
示例#2
0
        public void AddSize(IQueryable <sitesize> sizes)
        {
            // Reset Sizes
            Sizes.Clear();

            // Add each size
            foreach (var size in sizes)
            {
                _size s = new _size();
                s.id          = size.ID;
                s.description = size.description;
                Sizes.Add(s);
            }
        }
示例#3
0
 private void makeFakeSize(long eventId)
 {
     _size s = new _size();
     s.id = 1;     // not meaningful
     s.description = "";
     Sizes.Add(s);
 }
示例#4
0
        public void AddSize(IQueryable<sitesize> sizes)
        {
            // Reset Sizes
            Sizes.Clear();

            // Add each size
            foreach (var size in sizes)
            {
                _size s = new _size();
                s.id = size.ID;
                s.description = size.description;
                Sizes.Add(s);
            }
        }