happy new year.
so i'll explain the steps i've done.
i´ve created the following tables in my SQL-database:
table customers
column datatyp null values allowed
CustomerID int Unchecked
CustomerName varchar(100) Unchecked
ChangedAt datetime Checked
Country varchar(50) Unchecked
table orders
column datatyp null values allowed
OrderID int Unchecked
CustomerID int Unchecked
ArticleID int Unchecked
Artikelname varchar(100) Unchecked
After that, i´ve create a stored procedure:
CREATE PROCEDURE dbo.sproc_cu_CustomerOrders
@Country AS VARCHAR(50)
AS
BEGIN
SELECT c.CustomerID, c.CustomerName, c.ChangedAt, o.ArticleID, o.Artikelname FROM customers c
INNER JOIN orders o ON o.CustomerID = c.CustomerID
WHERE c.Country = @Country
END
GO
In the next step, i`ve generated in llblgen the stored procedure with a typedview-class as resultset.
In llblgen the column ChangedAt is marked as 'Is nullable'. But the column in the typedview-class is not nullable. It is datetime instead of datetime? .
So why does typedview-class not has nullable fields?