EdmFunctions.NewGuid Method ()

 

Creates a DbFunctionExpression that invokes the canonical 'NewGuid' function.

Namespace:   System.Data.Entity.Core.Common.CommandTrees.ExpressionBuilder
Assembly:  EntityFramework (in EntityFramework.dll)

public static DbFunctionExpression NewGuid()

Return Value

Type: System.Data.Entity.Core.Common.CommandTrees.DbFunctionExpression

A new DbFunctionExpression that returns a new GUID value.