To improve the speed to work with the UDT Point it would be better to add:
$0
$0 public Point(Int32 x, Int32 y)$0
$0 {$0
$0 this = default(Point);$0
$0 this._x = x;$0
$0 this._y = y;$0
$0 }$0
$0
$0into the struct$0
$0and also add:$0
$0
$0public class PointFunctions$0
$0{$0
$0 [SqlFunction(IsDeterministic = true, IsPrecise = true,$0
$0 DataAccess = DataAccessKind.None, SystemDataAccess = SystemDataAccessKind.None)]
↧