, , . , SQL- Entity, STUFF(), SqlServer , . SqlServer.STUFF(strTime, 3, 0, ':').
, Entity SQL , , .
, . LINQ, , . , , , : , , . , , , , .
:
SQL Server Stuff(), , . - , , . Model1.Stuff(strTime, 3, 0, ':')
<Function Name="Stuff" ReturnType="String">
<Parameter Name="character_expression" Type="String" />
<Parameter Name="start" Type="Int32" />
<Parameter Name="length" Type="Int32" />
<Parameter Name="replaceWith_expression" Type="String" />
<DefiningExpression>
Left(character_expression,start-1)
+ replaceWith_expression
+ Substring(character_expression, start + length, Length(character_expression))
</DefiningExpression>
</Function>