|
|
|
@@ -1,106 +0,0 @@ |
|
|
|
<?xml version="1.0" encoding="utf-8"?> |
|
|
|
<DirectedGraph GraphDirection="LeftToRight" xmlns="http://schemas.microsoft.com/vs/2009/dgml"> |
|
|
|
<Nodes> |
|
|
|
<Node Id="IModel" Label="SC_DbContext" ChangeTrackingStrategy="ChangeTrackingStrategy.Snapshot" PropertyAccessMode="PropertyAccessMode.Default" ProductVersion="6.0.3" Annotations="BaseTypeDiscoveryConvention:DerivedTypes: System.Collections.Generic.Dictionary`2[System.Type,System.Collections.Generic.List`1[Microsoft.EntityFrameworkCore.Metadata.IConventionEntityType]] |
|
|
|
RelationshipDiscoveryConvention:InverseNavigationCandidates: System.Collections.Generic.Dictionary`2[System.Type,System.Collections.Generic.SortedSet`1[System.Type]]" Category="Model" Group="Expanded" /> |
|
|
|
<Node Id = "Grade" Label="Grade" Name="Grade" BaseClass="" IsAbstract="False" ChangeTrackingStrategy="ChangeTrackingStrategy.Snapshot" Annotations="Relational:TableName: Grades |
|
|
|
RelationshipDiscoveryConvention:NavigationCandidates: System.Collections.Immutable.ImmutableSortedDictionary`2[System.Reflection.PropertyInfo,System.ValueTuple`2[System.Type,System.Nullable`1[System.Boolean]]]" Category="EntityType" Group="Expanded" /> |
|
|
|
<Node Id = "Student" Label="Student" Name="Student" BaseClass="" IsAbstract="False" ChangeTrackingStrategy="ChangeTrackingStrategy.Snapshot" Annotations="Relational:TableName: Students |
|
|
|
RelationshipDiscoveryConvention:NavigationCandidates: System.Collections.Immutable.ImmutableSortedDictionary`2[System.Reflection.PropertyInfo,System.ValueTuple`2[System.Type,System.Nullable`1[System.Boolean]]]" Category="EntityType" Group="Expanded" /> |
|
|
|
<Node Id = "Grade.GradeId" Label="GradeId" Name="GradeId" Category="Property Primary" Type="int" MaxLength="None" Field="" PropertyAccessMode="PropertyAccessMode.Default" BeforeSaveBehavior="PropertySaveBehavior.Save" AfterSaveBehavior="PropertySaveBehavior.Save" Annotations="" IsPrimaryKey="True" IsForeignKey="False" IsRequired="True" IsIndexed="False" IsShadow="False" IsAlternateKey="False" IsConcurrencyToken="False" IsUnicode="True" ValueGenerated="ValueGenerated.OnAdd" /> |
|
|
|
<Node Id = "Grade.Students" Label="Students (*)" Name="Students" Category="Navigation Collection" Type="ICollection<Student>" Field="" Dependent="Student" Principal="" Inverse="" PropertyAccessMode="PropertyAccessMode.Default" /> |
|
|
|
<Node Id = "Grade.GradeName" Label="GradeName" Name="GradeName" Category="Property Optional" Type="string" MaxLength="None" Field="" PropertyAccessMode="PropertyAccessMode.Default" BeforeSaveBehavior="PropertySaveBehavior.Save" AfterSaveBehavior="PropertySaveBehavior.Save" Annotations="" IsPrimaryKey="False" IsForeignKey="False" IsRequired="False" IsIndexed="False" IsShadow="False" IsAlternateKey="False" IsConcurrencyToken="False" IsUnicode="True" ValueGenerated="None" /> |
|
|
|
<Node Id = "Grade.Section" Label="Section" Name="Section" Category="Property Optional" Type="string" MaxLength="None" Field="" PropertyAccessMode="PropertyAccessMode.Default" BeforeSaveBehavior="PropertySaveBehavior.Save" AfterSaveBehavior="PropertySaveBehavior.Save" Annotations="" IsPrimaryKey="False" IsForeignKey="False" IsRequired="False" IsIndexed="False" IsShadow="False" IsAlternateKey="False" IsConcurrencyToken="False" IsUnicode="True" ValueGenerated="None" /> |
|
|
|
<Node Id = "Student" Label="Student" Name="Student" BaseClass="" IsAbstract="False" ChangeTrackingStrategy="ChangeTrackingStrategy.Snapshot" Annotations="" Category="EntityType" Group="Expanded" /> |
|
|
|
<Node Id = "Student.StudentId" Label="StudentId" Name="StudentId" Category="Property Primary" Type="int" MaxLength="None" Field="" PropertyAccessMode="PropertyAccessMode.Default" BeforeSaveBehavior="PropertySaveBehavior.Save" AfterSaveBehavior="PropertySaveBehavior.Save" Annotations="" IsPrimaryKey="True" IsForeignKey="True" IsRequired="True" IsIndexed="False" IsShadow="False" IsAlternateKey="False" IsConcurrencyToken="False" IsUnicode="True" ValueGenerated="None" /> |
|
|
|
<Node Id = "Student.Grade" Label="Grade (1)" Name="Grade" Category="Navigation Property" Type="Grade" Field="" Dependent="" Principal="Grade" Inverse="" PropertyAccessMode="PropertyAccessMode.Default" /> |
|
|
|
<Node Id = "Student.DateOfBirth" Label="DateOfBirth" Name="DateOfBirth" Category="Property Optional" Type="DateTime?" MaxLength="None" Field="" PropertyAccessMode="PropertyAccessMode.Default" BeforeSaveBehavior="PropertySaveBehavior.Save" AfterSaveBehavior="PropertySaveBehavior.Save" Annotations="" IsPrimaryKey="False" IsForeignKey="False" IsRequired="False" IsIndexed="False" IsShadow="False" IsAlternateKey="False" IsConcurrencyToken="False" IsUnicode="True" ValueGenerated="None" /> |
|
|
|
<Node Id = "Student.G_Id" Label="G_Id" Name="G_Id" Category="Property Foreign" Type="int" MaxLength="None" Field="" PropertyAccessMode="PropertyAccessMode.Default" BeforeSaveBehavior="PropertySaveBehavior.Save" AfterSaveBehavior="PropertySaveBehavior.Save" Annotations="" IsPrimaryKey="False" IsForeignKey="True" IsRequired="True" IsIndexed="True" IsShadow="False" IsAlternateKey="False" IsConcurrencyToken="False" IsUnicode="True" ValueGenerated="None" /> |
|
|
|
<Node Id = "Student.Height" Label="Height" Name="Height" Category="Property Optional" Type="decimal?" MaxLength="None" Field="" PropertyAccessMode="PropertyAccessMode.Default" BeforeSaveBehavior="PropertySaveBehavior.Save" AfterSaveBehavior="PropertySaveBehavior.Save" Annotations="" IsPrimaryKey="False" IsForeignKey="False" IsRequired="False" IsIndexed="False" IsShadow="False" IsAlternateKey="False" IsConcurrencyToken="False" IsUnicode="True" ValueGenerated="None" /> |
|
|
|
<Node Id = "Student.Photo" Label="Photo" Name="Photo" Category="Property Optional" Type="byte[]" MaxLength="None" Field="" PropertyAccessMode="PropertyAccessMode.Default" BeforeSaveBehavior="PropertySaveBehavior.Save" AfterSaveBehavior="PropertySaveBehavior.Save" Annotations="" IsPrimaryKey="False" IsForeignKey="False" IsRequired="False" IsIndexed="False" IsShadow="False" IsAlternateKey="False" IsConcurrencyToken="False" IsUnicode="True" ValueGenerated="None" /> |
|
|
|
<Node Id = "Student.StudentName" Label="StudentName" Name="StudentName" Category="Property Optional" Type="string" MaxLength="None" Field="" PropertyAccessMode="PropertyAccessMode.Default" BeforeSaveBehavior="PropertySaveBehavior.Save" AfterSaveBehavior="PropertySaveBehavior.Save" Annotations="" IsPrimaryKey="False" IsForeignKey="False" IsRequired="False" IsIndexed="False" IsShadow="False" IsAlternateKey="False" IsConcurrencyToken="False" IsUnicode="True" ValueGenerated="None" /> |
|
|
|
<Node Id = "Student.Weight" Label="Weight" Name="Weight" Category="Property Optional" Type="float?" MaxLength="None" Field="" PropertyAccessMode="PropertyAccessMode.Default" BeforeSaveBehavior="PropertySaveBehavior.Save" AfterSaveBehavior="PropertySaveBehavior.Save" Annotations="" IsPrimaryKey="False" IsForeignKey="False" IsRequired="False" IsIndexed="False" IsShadow="False" IsAlternateKey="False" IsConcurrencyToken="False" IsUnicode="True" ValueGenerated="None" /> |
|
|
|
</Nodes> |
|
|
|
<Links> |
|
|
|
<Link Source = "IModel" Target="Grade" Category="Contains" /> |
|
|
|
<Link Source = "IModel" Target="Student" Category="Contains" /> |
|
|
|
<Link Source = "Grade" Target="Grade.Students" Category="Contains" /> |
|
|
|
<Link Source = "Grade" Target="Grade.GradeId" Category="Contains" /> |
|
|
|
<Link Source = "Grade" Target="Grade.GradeName" Category="Contains" /> |
|
|
|
<Link Source = "Grade" Target="Grade.Section" Category="Contains" /> |
|
|
|
<Link Source = "IModel" Target="Student" Category="Contains" /> |
|
|
|
<Link Source = "Student" Target="Student.Grade" Category="Contains" /> |
|
|
|
<Link Source = "Student" Target="Student.StudentId" Category="Contains" /> |
|
|
|
<Link Source="Student" Target="Grade" From="Student.G_Id" To="Grade.GradeId" Name="Student -> Grade" Annotations="" IsUnique="False" Label="1:*" Category="Foreign Key" /> |
|
|
|
<Link Source="Student" Target="Grade" From="Student.StudentId" To="Grade.GradeId" Name="Student -> Grade" Annotations="" IsUnique="False" Label="1:*" Category="Foreign Key" /> |
|
|
|
<Link Source = "Student" Target="Student.DateOfBirth" Category="Contains" /> |
|
|
|
<Link Source = "Student" Target="Student.G_Id" Category="Contains" /> |
|
|
|
<Link Source = "Student" Target="Student.Height" Category="Contains" /> |
|
|
|
<Link Source = "Student" Target="Student.Photo" Category="Contains" /> |
|
|
|
<Link Source = "Student" Target="Student.StudentName" Category="Contains" /> |
|
|
|
<Link Source = "Student" Target="Student.Weight" Category="Contains" /> |
|
|
|
</Links> |
|
|
|
<Styles> |
|
|
|
<Style TargetType="Node" GroupLabel="EntityType" ValueLabel="True"> |
|
|
|
<Condition Expression="HasCategory('EntityType')" /> |
|
|
|
<Setter Property="Background" Value="#FFC0C0C0" /> |
|
|
|
</Style> |
|
|
|
<Style TargetType="Node" GroupLabel="Property Primary" ValueLabel="True"> |
|
|
|
<Condition Expression="HasCategory('Property Primary')" /> |
|
|
|
<Setter Property="Background" Value="#FF008000" /> |
|
|
|
</Style> |
|
|
|
<Style TargetType="Node" GroupLabel="Property Optional" ValueLabel="True"> |
|
|
|
<Condition Expression="HasCategory('Property Optional')" /> |
|
|
|
<Setter Property="Background" Value="#FF808040" /> |
|
|
|
</Style> |
|
|
|
<Style TargetType="Node" GroupLabel="Property Foreign" ValueLabel="True"> |
|
|
|
<Condition Expression="HasCategory('Property Foreign')" /> |
|
|
|
<Setter Property="Background" Value="#FF8080FF" /> |
|
|
|
</Style> |
|
|
|
<Style TargetType="Node" GroupLabel="Property Required" ValueLabel="True"> |
|
|
|
<Condition Expression="HasCategory('Property Required')" /> |
|
|
|
<Setter Property="Background" Value="#FFC0A000" /> |
|
|
|
</Style> |
|
|
|
<Style TargetType="Node" GroupLabel="Navigation Property" ValueLabel="True"> |
|
|
|
<Condition Expression="HasCategory('Navigation Property')" /> |
|
|
|
<Setter Property="Background" Value="#FF990000" /> |
|
|
|
</Style> |
|
|
|
<Style TargetType="Node" GroupLabel="Navigation Collection" ValueLabel="True"> |
|
|
|
<Condition Expression="HasCategory('Navigation Collection')" /> |
|
|
|
<Setter Property="Background" Value="#FFFF3232" /> |
|
|
|
</Style> |
|
|
|
<Style TargetType="Node" GroupLabel="Model" ValueLabel="True"> |
|
|
|
<Condition Expression="HasCategory('Model')" /> |
|
|
|
<Setter Property="Background" Value="#FFFFFFFF" /> |
|
|
|
</Style> |
|
|
|
</Styles> |
|
|
|
<Properties> |
|
|
|
<Property Id="Name" Group="Model Properties" DataType="System.String" /> |
|
|
|
<Property Id="Field" Description="Backing field" Group="Model Properties" DataType="System.String" /> |
|
|
|
<Property Id="Type" Description="CLR data type" Group="Model Properties" DataType="System.String" /> |
|
|
|
<Property Id="To" Description="Source property" Group="Model Properties" DataType="System.String" /> |
|
|
|
<Property Id="From" Description="Target property" Group="Model Properties" DataType="System.String" /> |
|
|
|
<Property Id="Dependent" Description="Dependent entity" Group="Model Properties" DataType="System.String" /> |
|
|
|
<Property Id="Inverse" Description="Inverse entity" Group="Model Properties" DataType="System.String" /> |
|
|
|
<Property Id="Principal" Description="Principal entity" Group="Model Properties" DataType="System.String" /> |
|
|
|
<Property Id="Annotations" Description="Annotations" Group="Model Properties" DataType="System.String" /> |
|
|
|
<Property Id="BaseClass" Description="Base class" Group="Model Properties" DataType="System.String" /> |
|
|
|
<Property Id="ChangeTrackingStrategy" Description="Change tracking strategy" Group="Model Properties" DataType="System.String" /> |
|
|
|
<Property Id="IsUnique" Group="Model Properties" DataType="System.Boolean" /> |
|
|
|
<Property Id="IsAbstract" Group="Model Properties" DataType="System.Boolean" /> |
|
|
|
<Property Id="ProductVersion" Label="Product Version" Description="EF Core product version" Group="Model Properties" DataType="System.String" /> |
|
|
|
<Property Id="IsIndexed" Group="Property Flags" DataType="System.Boolean" /> |
|
|
|
<Property Id="IsRequired" Group="Property Flags" DataType="System.Boolean" /> |
|
|
|
<Property Id="IsPrimaryKey" Group="Property Flags" DataType="System.Boolean" /> |
|
|
|
<Property Id="IsForeignKey" Group="Property Flags" DataType="System.Boolean" /> |
|
|
|
<Property Id="IsShadow" Group="Property Flags" DataType="System.Boolean" /> |
|
|
|
<Property Id="IsAlternateKey" Group="Property Flags" DataType="System.Boolean" /> |
|
|
|
<Property Id="IsConcurrencyToken" Group="Property Flags" DataType="System.Boolean" /> |
|
|
|
<Property Id="IsIndexed" Group="Property Flags" DataType="System.Boolean" /> |
|
|
|
<Property Id="IsUnicode" Group="Property Flags" DataType="System.Boolean" /> |
|
|
|
<Property Id="ValueGenerated" Group="Property Flags" DataType="System.String" /> |
|
|
|
<Property Id="BeforeSaveBehavior" Group="Property Flags" DataType="System.String" /> |
|
|
|
<Property Id="AfterSaveBehavior" Group="Property Flags" DataType="System.String" /> |
|
|
|
<Property Id="PropertyAccessMode" Group="Property Flags" DataType="System.String" /> |
|
|
|
</Properties> |
|
|
|
</DirectedGraph> |