I do not think Entity Framework does not insert inserts at all (at present). Therefore, if you must keep the number of hits in the DB so low, you probably have to use a stored procedure or a database trigger. Fortunately, the Entity Framework supports stored procedures that return object types. There is MSDN documentation about this. You can create a proc that takes a string list of tags and returns instances of the instance entity. Alternatively, you can add a VARCHAR column to your message table for the tag splitter list and analyze it in a trigger.
source share