public static SqlExpression DateTimeOffsetCtor( [Type(typeof(DateTime))] SqlExpression dateTime) { return(SqlDml.DateTimeToDateTimeOffset(dateTime)); }