Parameters
- a
- b
Library/Library.Test/TestDbGuid.cs
C# | Copy Code |
---|---|
Assert.AreEqual(Guid.Empty, DbGuid.Empty.ToGuid()); Assert.AreEqual(DbGuid.Empty, new DbGuid(Guid.Empty)); Assert.AreEqual(Guid.Empty, new DbGuid().ToGuid()); Assert.AreEqual(DbGuid.Empty, new DbGuid()); Assert.AreEqual(DbGuid.Empty, new DbGuid(0, 0)); Assert.AreEqual(0L, DbGuid.Empty.High64); Assert.AreEqual(0L, DbGuid.Empty.Low64); |
VB.NET | Copy Code |
---|---|
Assert.AreEqual(Guid.Empty, DbGuid.Empty.ToGuid()) Assert.AreEqual(DbGuid.Empty, New DbGuid(Guid.Empty)) Assert.AreEqual(Guid.Empty, New DbGuid().ToGuid()) Assert.AreEqual(DbGuid.Empty, New DbGuid()) Assert.AreEqual(DbGuid.Empty, New DbGuid(0, 0)) Assert.AreEqual(0L, DbGuid.Empty.High64) Assert.AreEqual(0L, DbGuid.Empty.Low64) |
Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
Reference
DbGuid StructureDbGuid Members
Overload List
Used By
DbGuid DbGuid.ToSqlGuid()DbGuid DbGuid.ToSequenceGuid()