Replace long with int

Turns out that we store these values as int(11) in MySql.
The 11 is irrelevant and pertains to display. int is a 4 byte
(aka 32 bit) integer. So this maps to a .NET Int32 (aka int).

While changing keeping it long might be future proofing, it also
requires changes to GHfW and I figure let's jump that hurdle
when we get there.
This commit is contained in:
Haacked
2013-09-24 14:12:50 -07:00
parent caad25abd0
commit 38264fcde5
9 changed files with 29 additions and 29 deletions

View File

@@ -208,7 +208,7 @@ namespace Octokit
/// <summary>
/// The system-wide unique Id for this user.
/// </summary>
public long Id { get; set; }
public int Id { get; set; }
/// <summary>
/// The geographic location of this user.
@@ -282,7 +282,7 @@ namespace Octokit
/// <summary>
/// The system-wide unique Id for this user.
/// </summary>
public long Id { get; set; }
public int Id { get; set; }
/// <summary>
/// This org's login.
@@ -342,7 +342,7 @@ namespace Octokit
/// <summary>
/// The system-wide unique Id for this user.
/// </summary>
public long Id { get; set; }
public int Id { get; set; }
/// <summary>
/// The SSH Key
@@ -414,7 +414,7 @@ namespace Octokit
/// <summary>
/// The amount of disk space allowed with this plan.
/// </summary>
public long Space { get; set; }
public int Space { get; set; }
}
public class Repository
@@ -426,7 +426,7 @@ namespace Octokit
public string SshUrl { get; set; }
public string SvnUrl { get; set; }
public string MirrorUrl { get; set; }
public long Id { get; set; }
public int Id { get; set; }
public User Owner { get; set; }
public string Name { get; set; }
public string FullName { get; set; }