Пример #1
0
            public ShippingState(Reserve res)
            {
                this.type = GetTypeForReserve(res);

                if (this.type == ShippingStates.Etc)
                {
                    var si = DBAccessor.Instance.GetShipping(res);
                    this.state = (from a in DBAccessor.Instance.ItemStates
                                  where a.ItemStateCode == si.State
                                  select a).FirstOrDefault();
                }
            }
Пример #2
0
 public ShippingState(string flag)
 {
     this.type = GetTypeForDBValue(flag);
 }
Пример #3
0
 public ShippingState(ShippingStates v)
 {
     this.type = v;
 }