CSharpTest.Net
DbGuid Constructor(Int64,Int64)
See Also  Example Send Feedback Download Help File
CSharpTest.Net.Library Assembly > CSharpTest.Net.Data Namespace > DbGuid Structure > DbGuid Constructor : DbGuid Constructor(Int64,Int64)

a
b

Glossary Item Box

Constructs a DbGuid from two 64-bit values

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal a As Long, _
   ByVal b As Long _
)
C# 
public DbGuid( 
   long a,
   long b
)

Parameters

a
b

Example

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.NETCopy 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)

Requirements

Target Platforms: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7

See Also

Generated with Document! X 2011 by Innovasys