You can define a view from your table and request this view:
CREATE VIEW dbo.ActiveData AS SELECT (list of columns) FROM dbo.YourTable WHERE IsDeleted = 0
And then in your EDMX model read your data from the ActiveData view instead of the base table.
source share