Skip to content

Instantly share code, notes, and snippets.

@rdelrosario
Created January 20, 2021 19:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rdelrosario/afccd3f2194544a7a86b617594b9ddd5 to your computer and use it in GitHub Desktop.
Save rdelrosario/afccd3f2194544a7a86b617594b9ddd5 to your computer and use it in GitHub Desktop.
using System;
namespace DynamicDataGroupingSample
{
public class Restaurant
{
public Restaurant(string name, string category, string type, string country)
{
Id = Guid.NewGuid().ToString();
Name = name;
Category = category;
Type = type;
Country = country;
}
public string Id { get; }
public string Name { get; }
public string Category { get; }
public string Type { get; }
public string Country { get; }
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment