System\Data\Metadata\Edm\EdmFunction.cs (19)
42if (payload.IsAggregate.HasValue) SetFunctionAttribute(ref _functionAttributes, FunctionAttributes.Aggregate, payload.IsAggregate.Value);
43if (payload.IsBuiltIn.HasValue) SetFunctionAttribute(ref _functionAttributes, FunctionAttributes.BuiltIn, payload.IsBuiltIn.Value);
44if (payload.IsNiladic.HasValue) SetFunctionAttribute(ref _functionAttributes, FunctionAttributes.NiladicFunction, payload.IsNiladic.Value);
45if (payload.IsComposable.HasValue) SetFunctionAttribute(ref _functionAttributes, FunctionAttributes.IsComposable, payload.IsComposable.Value);
46if (payload.IsFromProviderManifest.HasValue) SetFunctionAttribute(ref _functionAttributes, FunctionAttributes.IsFromProviderManifest, payload.IsFromProviderManifest.Value);
47if (payload.IsCachedStoreFunction.HasValue) SetFunctionAttribute(ref _functionAttributes, FunctionAttributes.IsCachedStoreFunction, payload.IsCachedStoreFunction.Value);
48if (payload.IsFunctionImport.HasValue) SetFunctionAttribute(ref _functionAttributes, FunctionAttributes.IsFunctionImport, payload.IsFunctionImport.Value);
107private readonly FunctionAttributes _functionAttributes = FunctionAttributes.Default;
224return GetFunctionAttribute(FunctionAttributes.Aggregate);
233return GetFunctionAttribute(FunctionAttributes.BuiltIn);
242return GetFunctionAttribute(FunctionAttributes.IsFromProviderManifest);
251return GetFunctionAttribute(FunctionAttributes.NiladicFunction);
261return GetFunctionAttribute(FunctionAttributes.IsComposable);
278return GetFunctionAttribute(FunctionAttributes.IsCachedStoreFunction);
294return GetFunctionAttribute(FunctionAttributes.IsFunctionImport);
394private bool GetFunctionAttribute(FunctionAttributes attribute)
399private static void SetFunctionAttribute(ref FunctionAttributes field, FunctionAttributes attribute, bool isSet)