UserEntity.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
namespace SignaIR_Test.Models.Chat
{
public class UserEntity
{
private static int IdIncrement = 0;
public static int GetNewID
{
get
{
return IdIncrement++;
}
}
public int userID { set; get; }
public string ConnectionId { get; set; }
public string Name { get; set; }
}
}