C# 클래스 NSoft.NFramework.Tools.GuidTool

Generates sequential GUIDs much in the same way that SQL Server 2005 does
links : http://codebetter.com/blogs/scott.bellware/archive/2006/12/27/156671.aspx
파일 보기 프로젝트 열기: debop/NFramework 1 사용 예제들

공개 메소드들

메소드 설명
AsEnumerable ( int count ) : IEnumerable

SQL Server 처럼 순차적인 Guid 값을 지정된 갯수만큼 생성합니다.

NewComb ( ) : System.Guid

Guid.Comb 스타일의 Guid 값을 생성합니다.

NewSequentialGuid ( ) : System.Guid

SQL Server 2005 처럼 순차적인 Guid를 생성한다.

NewSequentialGuid ( int count ) : System.Guid[]

SQL Server 처럼 순차적인 Guid 값을 지정된 갯수만큼 생성한다.

비공개 메소드들

메소드 설명
UuidCreateSequential ( System.Guid &guid ) : int

메소드 상세

AsEnumerable() 공개 정적인 메소드

SQL Server 처럼 순차적인 Guid 값을 지정된 갯수만큼 생성합니다.
public static AsEnumerable ( int count ) : IEnumerable
count int 생성할 Guid 인스턴스 갯수
리턴 IEnumerable

NewComb() 공개 정적인 메소드

Guid.Comb 스타일의 Guid 값을 생성합니다.
public static NewComb ( ) : System.Guid
리턴 System.Guid

NewSequentialGuid() 공개 정적인 메소드

SQL Server 2005 처럼 순차적인 Guid를 생성한다.
public static NewSequentialGuid ( ) : System.Guid
리턴 System.Guid

NewSequentialGuid() 공개 정적인 메소드

SQL Server 처럼 순차적인 Guid 값을 지정된 갯수만큼 생성한다.
public static NewSequentialGuid ( int count ) : System.Guid[]
count int 생성할 순차 Guid 의 갯수
리턴 System.Guid[]