public Range() { this._id = Guid.NewGuid (); this._createtimestamp = SNDK.Date.CurrentDateTimeToTimestamp (); this._updatetimestamp = SNDK.Date.CurrentDateTimeToTimestamp (); this._countrycodeid = Guid.Empty; this._type = Enums.NumberType.Landline; this._name = string.Empty; this._dialcodes = new List<string> (); this._costpriceids = new List<Guid> (); }
public void Init(Enums.NumberType Type, string Value, bool FreeCall) { this._type = Type; this._value = Value; if (Type == Enums.NumberType.Landline) { this._freecall = false; } else { this._freecall = FreeCall; } }
public void Init(Enums.NumberType Type, string Value) { this._type = Type; this._value = Value; }