Disco.Models.Repository.DeviceBatch.ToString C# (CSharp) Method

ToString() public method

public ToString ( ) : string
return string
        public override string ToString()
        {
            if (string.IsNullOrWhiteSpace(this.Name))
            {
                return string.Format("{0}: {1}", this.Id, this.PurchaseDate.ToLongDateString());
            }
            return this.Name;
        }
    }
DeviceBatch