-
Notifications
You must be signed in to change notification settings - Fork 1.6k
/
EdmScalarPropertyAttribute.xml
138 lines (129 loc) · 8.65 KB
/
EdmScalarPropertyAttribute.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<Type Name="EdmScalarPropertyAttribute" FullName="System.Data.Objects.DataClasses.EdmScalarPropertyAttribute">
<TypeSignature Language="C#" Value="public sealed class EdmScalarPropertyAttribute : System.Data.Objects.DataClasses.EdmPropertyAttribute" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit EdmScalarPropertyAttribute extends System.Data.Objects.DataClasses.EdmPropertyAttribute" />
<TypeSignature Language="DocId" Value="T:System.Data.Objects.DataClasses.EdmScalarPropertyAttribute" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class EdmScalarPropertyAttribute
Inherits EdmPropertyAttribute" />
<TypeSignature Language="F#" Value="type EdmScalarPropertyAttribute = class
 inherit EdmPropertyAttribute" />
<TypeSignature Language="C++ CLI" Value="public ref class EdmScalarPropertyAttribute sealed : System::Data::Objects::DataClasses::EdmPropertyAttribute" />
<AssemblyInfo>
<AssemblyName>System.Data.Entity</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Data.Objects.DataClasses.EdmPropertyAttribute</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.AttributeUsage(System.AttributeTargets.Property)]</AttributeName>
<AttributeName Language="F#">[<System.AttributeUsage(System.AttributeTargets.Property)>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Attribute that indicates that the property represents a scalar property.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Data.Objects.DataClasses.EdmScalarPropertyAttribute.IsNullable%2A> and <xref:System.Data.Objects.DataClasses.EdmScalarPropertyAttribute.EntityKeyProperty%2A> properties cannot both be `true` because key members cannot be `null`.
The <xref:System.Data.Objects.DataClasses.EdmScalarPropertyAttribute> links a scalar property on a data class to a property of an entity type or complex type that is defined in the conceptual model.
This attribute is applied to properties that return scalar types.
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public EdmScalarPropertyAttribute ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Data.Objects.DataClasses.EdmScalarPropertyAttribute.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 EdmScalarPropertyAttribute();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data.Entity</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Data.Objects.DataClasses.EdmScalarPropertyAttribute" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="EntityKeyProperty">
<MemberSignature Language="C#" Value="public bool EntityKeyProperty { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool EntityKeyProperty" />
<MemberSignature Language="DocId" Value="P:System.Data.Objects.DataClasses.EdmScalarPropertyAttribute.EntityKeyProperty" />
<MemberSignature Language="VB.NET" Value="Public Property EntityKeyProperty As Boolean" />
<MemberSignature Language="F#" Value="member this.EntityKeyProperty : bool with get, set" Usage="System.Data.Objects.DataClasses.EdmScalarPropertyAttribute.EntityKeyProperty" />
<MemberSignature Language="C++ CLI" Value="public:
 property bool EntityKeyProperty { bool get(); void set(bool value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data.Entity</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the value that indicates whether the property is part of the entity key.</summary>
<value>The value that indicates whether the property is part of the entity key.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
Because an entity key can contain more than one property, the <xref:System.Data.Objects.DataClasses.EdmScalarPropertyAttribute.EntityKeyProperty%2A> can be set to true for more than one property of an entity type.
The <xref:System.Data.Objects.DataClasses.EdmScalarPropertyAttribute.IsNullable%2A> and <xref:System.Data.Objects.DataClasses.EdmScalarPropertyAttribute.EntityKeyProperty%2A> properties cannot both be `true` because key members cannot be `null`.
]]></format>
</remarks>
</Docs>
</Member>
<Member MemberName="IsNullable">
<MemberSignature Language="C#" Value="public bool IsNullable { get; set; }" />
<MemberSignature Language="ILAsm" Value=".property instance bool IsNullable" />
<MemberSignature Language="DocId" Value="P:System.Data.Objects.DataClasses.EdmScalarPropertyAttribute.IsNullable" />
<MemberSignature Language="VB.NET" Value="Public Property IsNullable As Boolean" />
<MemberSignature Language="F#" Value="member this.IsNullable : bool with get, set" Usage="System.Data.Objects.DataClasses.EdmScalarPropertyAttribute.IsNullable" />
<MemberSignature Language="C++ CLI" Value="public:
 property bool IsNullable { bool get(); void set(bool value); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Data.Entity</AssemblyName>
<AssemblyVersion>3.5.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
<Attribute FrameworkAlternate="netframework-4.0">
<AttributeName Language="C#">[set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")]</AttributeName>
<AttributeName Language="F#">[<set: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Boolean</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets or sets the value that indicates whether the property can have a <see langword="null" /> value.</summary>
<value>The value that indicates whether the property can have a <see langword="null" /> value.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Data.Objects.DataClasses.EdmScalarPropertyAttribute.IsNullable%2A> and <xref:System.Data.Objects.DataClasses.EdmScalarPropertyAttribute.EntityKeyProperty%2A> properties cannot both be `true`.
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>