예제 #1
0
 protected override object CreateRandomValueInternal(SqlRandomizer rand, SqlRandomTableColumn columnInfo)
 {
     return(rand.NextUcs2Array(0, columnInfo.StorageSize));
 }
예제 #2
0
        protected override object CreateRandomValueInternal(SqlRandomizer rand, SqlRandomTableColumn columnInfo)
        {
            int storageSize = GetCharSize(columnInfo) * 2;

            return(rand.NextUcs2Array(0, storageSize));
        }
예제 #3
0
        protected override object CreateRandomValueInternal(SqlRandomizer rand, SqlRandomTableColumn columnInfo)
        {
            int storageSize = columnInfo.StorageSize.HasValue ? columnInfo.StorageSize.Value : DefaultCharSize * 2;

            return(rand.NextUcs2Array(0, storageSize));
        }