將全年報名移至獨立頁籤,並新增未報名品項名單列印功能
This commit is contained in:
+112
-15
@@ -334,6 +334,17 @@
|
||||
<Property Name="num" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||||
<Property Name="title" Type="nvarchar" MaxLength="10" />
|
||||
</EntityType>
|
||||
<EntityType Name="auto_enroll">
|
||||
<Key>
|
||||
<PropertyRef Name="num" />
|
||||
</Key>
|
||||
<Property Name="num" Type="int" StoreGeneratedPattern="Identity" Nullable="false" />
|
||||
<Property Name="f_num" Type="int" Nullable="false" />
|
||||
<Property Name="start_date" Type="date" Nullable="false" />
|
||||
<Property Name="end_date" Type="date" Nullable="false" />
|
||||
<Property Name="receipt_title" Type="nvarchar(max)" />
|
||||
<Property Name="receipt_address" Type="nchar" MaxLength="200" />
|
||||
</EntityType>
|
||||
<EntityType Name="bed_kind">
|
||||
<Key>
|
||||
<PropertyRef Name="num" />
|
||||
@@ -405,6 +416,7 @@
|
||||
<Property Name="smtp_def" Type="nvarchar" MaxLength="1" />
|
||||
<Property Name="use_sender" Type="nvarchar" MaxLength="1" />
|
||||
<Property Name="bed_order_no" Type="nvarchar" MaxLength="20" />
|
||||
<Property Name="last_auto_order_no" Type="nvarchar" MaxLength="20" />
|
||||
</EntityType>
|
||||
<EntityType Name="country">
|
||||
<Key>
|
||||
@@ -486,11 +498,6 @@
|
||||
<Property Name="appellation_id" Type="int" />
|
||||
<Property Name="follower_hash" Type="nvarchar" MaxLength="100" />
|
||||
<Property Name="search_keywords" Type="varchar(max)" />
|
||||
<Property Name="is_auto_enroll" Type="bit" />
|
||||
<Property Name="auto_enroll_start_date" Type="datetime" />
|
||||
<Property Name="auto_enroll_receipt_title" Type="nvarchar" MaxLength="50" />
|
||||
<Property Name="auto_enroll_receipt_address" Type="nchar" MaxLength="200" />
|
||||
<Property Name="auto_enroll_is_receipt" Type="bit" />
|
||||
</EntityType>
|
||||
<EntityType Name="followers_tablet">
|
||||
<Key>
|
||||
@@ -706,6 +713,7 @@
|
||||
<Property Name="introducer" Type="int" />
|
||||
<Property Name="send_receipt" Type="bit" />
|
||||
<Property Name="receipt_title" Type="nvarchar(max)" />
|
||||
<Property Name="au_num" Type="int" />
|
||||
</EntityType>
|
||||
<EntityType Name="pro_order_detail">
|
||||
<Key>
|
||||
@@ -1274,6 +1282,18 @@
|
||||
</Dependent>
|
||||
</ReferentialConstraint>
|
||||
</Association>
|
||||
<Association Name="FK_auto_enroll_followers">
|
||||
<End Role="followers" Type="Self.followers" Multiplicity="1" />
|
||||
<End Role="auto_enroll" Type="Self.auto_enroll" Multiplicity="*" />
|
||||
<ReferentialConstraint>
|
||||
<Principal Role="followers">
|
||||
<PropertyRef Name="num" />
|
||||
</Principal>
|
||||
<Dependent Role="auto_enroll">
|
||||
<PropertyRef Name="f_num" />
|
||||
</Dependent>
|
||||
</ReferentialConstraint>
|
||||
</Association>
|
||||
<Association Name="FK_bed_kind_detail_bed_kind">
|
||||
<End Role="bed_kind" Type="Self.bed_kind" Multiplicity="0..1" />
|
||||
<End Role="bed_kind_detail" Type="Self.bed_kind_detail" Multiplicity="*" />
|
||||
@@ -1652,6 +1672,18 @@
|
||||
</Dependent>
|
||||
</ReferentialConstraint>
|
||||
</Association>
|
||||
<Association Name="FK_pro_order_auto_enroll">
|
||||
<End Role="auto_enroll" Type="Self.auto_enroll" Multiplicity="0..1" />
|
||||
<End Role="pro_order" Type="Self.pro_order" Multiplicity="*" />
|
||||
<ReferentialConstraint>
|
||||
<Principal Role="auto_enroll">
|
||||
<PropertyRef Name="num" />
|
||||
</Principal>
|
||||
<Dependent Role="pro_order">
|
||||
<PropertyRef Name="au_num" />
|
||||
</Dependent>
|
||||
</ReferentialConstraint>
|
||||
</Association>
|
||||
<Association Name="FK_pro_order_detail_actItem">
|
||||
<End Role="actItem" Type="Self.actItem" Multiplicity="0..1">
|
||||
<OnDelete Action="Cascade" />
|
||||
@@ -2122,6 +2154,7 @@
|
||||
<EntitySet Name="AncestralTabletRegistrant" EntityType="Self.AncestralTabletRegistrant" Schema="dbo" store:Type="Tables" />
|
||||
<EntitySet Name="AncestralTabletStatus" EntityType="Self.AncestralTabletStatus" Schema="dbo" store:Type="Tables" />
|
||||
<EntitySet Name="appellation" EntityType="Self.appellation" Schema="dbo" store:Type="Tables" />
|
||||
<EntitySet Name="auto_enroll" EntityType="Self.auto_enroll" Schema="dbo" store:Type="Tables" />
|
||||
<EntitySet Name="bed_kind" EntityType="Self.bed_kind" Schema="dbo" store:Type="Tables" />
|
||||
<EntitySet Name="bed_kind_detail" EntityType="Self.bed_kind_detail" Schema="dbo" store:Type="Tables" />
|
||||
<EntitySet Name="bed_order" EntityType="Self.bed_order" Schema="dbo" store:Type="Tables" />
|
||||
@@ -2253,6 +2286,10 @@
|
||||
<End Role="AncestralTabletArea" EntitySet="AncestralTabletArea" />
|
||||
<End Role="AncestralTabletArea1" EntitySet="AncestralTabletArea" />
|
||||
</AssociationSet>
|
||||
<AssociationSet Name="FK_auto_enroll_followers" Association="Self.FK_auto_enroll_followers">
|
||||
<End Role="followers" EntitySet="followers" />
|
||||
<End Role="auto_enroll" EntitySet="auto_enroll" />
|
||||
</AssociationSet>
|
||||
<AssociationSet Name="FK_bed_kind_detail_bed_kind" Association="Self.FK_bed_kind_detail_bed_kind">
|
||||
<End Role="bed_kind" EntitySet="bed_kind" />
|
||||
<End Role="bed_kind_detail" EntitySet="bed_kind_detail" />
|
||||
@@ -2377,6 +2414,10 @@
|
||||
<End Role="activity" EntitySet="activity" />
|
||||
<End Role="pro_order" EntitySet="pro_order" />
|
||||
</AssociationSet>
|
||||
<AssociationSet Name="FK_pro_order_auto_enroll" Association="Self.FK_pro_order_auto_enroll">
|
||||
<End Role="auto_enroll" EntitySet="auto_enroll" />
|
||||
<End Role="pro_order" EntitySet="pro_order" />
|
||||
</AssociationSet>
|
||||
<AssociationSet Name="FK_pro_order_detail_actItem" Association="Self.FK_pro_order_detail_actItem">
|
||||
<End Role="actItem" EntitySet="actItem" />
|
||||
<End Role="pro_order_detail" EntitySet="pro_order_detail" />
|
||||
@@ -2905,6 +2946,7 @@
|
||||
<Property Name="smtp_def" Type="String" MaxLength="1" FixedLength="false" Unicode="true" />
|
||||
<Property Name="use_sender" Type="String" MaxLength="1" FixedLength="false" Unicode="true" />
|
||||
<Property Name="bed_order_no" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
|
||||
<Property Name="last_auto_order_no" Type="String" MaxLength="20" FixedLength="false" Unicode="true" />
|
||||
</EntityType>
|
||||
<EntityType Name="country">
|
||||
<Key>
|
||||
@@ -2983,11 +3025,7 @@
|
||||
<NavigationProperty Name="GuaDanOrder" Relationship="Model.FK_GuaDanOrder_Followers" FromRole="follower" ToRole="GuaDanOrder" />
|
||||
<Property Name="search_keywords" Type="String" MaxLength="Max" FixedLength="false" Unicode="false" />
|
||||
<NavigationProperty Name="GuaDanOrderGuest" Relationship="Model.FK_GuaDanOrderGuest_FOLLOWERS" FromRole="follower" ToRole="GuaDanOrderGuest" />
|
||||
<Property Name="is_auto_enroll" Type="Boolean" />
|
||||
<Property Name="auto_enroll_start_date" Type="DateTime" Precision="3" />
|
||||
<Property Name="auto_enroll_receipt_title" Type="String" MaxLength="50" FixedLength="false" Unicode="true" />
|
||||
<Property Name="auto_enroll_receipt_address" Type="String" MaxLength="200" FixedLength="true" Unicode="true" />
|
||||
<Property Name="auto_enroll_is_receipt" Type="Boolean" />
|
||||
<NavigationProperty Name="auto_enroll" Relationship="Model.FK_auto_enroll_followers" FromRole="follower" ToRole="auto_enroll" />
|
||||
</EntityType>
|
||||
<EntityType Name="followers_tablet">
|
||||
<Key>
|
||||
@@ -3166,6 +3204,8 @@
|
||||
<NavigationProperty Name="pro_order_detail" Relationship="Self.FK_pro_order_detail_pro_order" FromRole="pro_order" ToRole="pro_order_detail" />
|
||||
<Property Name="send_receipt" Type="Boolean" />
|
||||
<Property Name="receipt_title" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||||
<Property Name="au_num" Type="Int32" />
|
||||
<NavigationProperty Name="auto_enroll" Relationship="Model.FK_pro_order_auto_enroll" FromRole="pro_order" ToRole="auto_enroll" />
|
||||
</EntityType>
|
||||
<EntityType Name="pro_order_detail">
|
||||
<Key>
|
||||
@@ -4563,6 +4603,15 @@
|
||||
<End Role="GuaDanOrderGuest" EntitySet="GuaDanOrderGuest" />
|
||||
<End Role="RegionAndRoomAndBedSchedule" EntitySet="RegionAndRoomAndBedSchedule" />
|
||||
</AssociationSet>
|
||||
<EntitySet Name="auto_enroll" EntityType="Model.auto_enroll" />
|
||||
<AssociationSet Name="FK_auto_enroll_followers" Association="Model.FK_auto_enroll_followers">
|
||||
<End Role="follower" EntitySet="followers" />
|
||||
<End Role="auto_enroll" EntitySet="auto_enroll" />
|
||||
</AssociationSet>
|
||||
<AssociationSet Name="FK_pro_order_auto_enroll" Association="Model.FK_pro_order_auto_enroll">
|
||||
<End Role="auto_enroll" EntitySet="auto_enroll" />
|
||||
<End Role="pro_order" EntitySet="pro_order" />
|
||||
</AssociationSet>
|
||||
</EntityContainer>
|
||||
<ComplexType Name="sp_helpdiagramdefinition_Result">
|
||||
<Property Type="Int32" Name="version" Nullable="true" />
|
||||
@@ -5280,6 +5329,45 @@
|
||||
</Dependent>
|
||||
</ReferentialConstraint>
|
||||
</Association>
|
||||
<EntityType Name="auto_enroll">
|
||||
<Key>
|
||||
<PropertyRef Name="num" />
|
||||
</Key>
|
||||
<Property Name="num" Type="Int32" Nullable="false" annotation:StoreGeneratedPattern="Identity" />
|
||||
<Property Name="f_num" Type="Int32" Nullable="false" />
|
||||
<Property Name="start_date" Type="DateTime" Precision="0" Nullable="false" />
|
||||
<Property Name="end_date" Type="DateTime" Precision="0" Nullable="false" />
|
||||
<Property Name="receipt_title" Type="String" MaxLength="Max" FixedLength="false" Unicode="true" />
|
||||
<Property Name="receipt_address" Type="String" MaxLength="200" FixedLength="true" Unicode="true" />
|
||||
<NavigationProperty Name="followers" Relationship="Model.FK_auto_enroll_followers" FromRole="auto_enroll" ToRole="follower" />
|
||||
<NavigationProperty Name="pro_order" Relationship="Model.FK_pro_order_auto_enroll" FromRole="auto_enroll" ToRole="pro_order" />
|
||||
</EntityType>
|
||||
<Association Name="FK_auto_enroll_followers">
|
||||
<End Type="Model.follower" Role="follower" Multiplicity="1">
|
||||
<OnDelete Action="Cascade" />
|
||||
</End>
|
||||
<End Type="Model.auto_enroll" Role="auto_enroll" Multiplicity="*" />
|
||||
<ReferentialConstraint>
|
||||
<Principal Role="follower">
|
||||
<PropertyRef Name="num" />
|
||||
</Principal>
|
||||
<Dependent Role="auto_enroll">
|
||||
<PropertyRef Name="f_num" />
|
||||
</Dependent>
|
||||
</ReferentialConstraint>
|
||||
</Association>
|
||||
<Association Name="FK_pro_order_auto_enroll">
|
||||
<End Type="Model.auto_enroll" Role="auto_enroll" Multiplicity="0..1" />
|
||||
<End Type="Model.pro_order" Role="pro_order" Multiplicity="*" />
|
||||
<ReferentialConstraint>
|
||||
<Principal Role="auto_enroll">
|
||||
<PropertyRef Name="num" />
|
||||
</Principal>
|
||||
<Dependent Role="pro_order">
|
||||
<PropertyRef Name="au_num" />
|
||||
</Dependent>
|
||||
</ReferentialConstraint>
|
||||
</Association>
|
||||
</Schema>
|
||||
</edmx:ConceptualModels>
|
||||
<!-- C-S mapping content -->
|
||||
@@ -5606,6 +5694,7 @@
|
||||
<EntitySetMapping Name="companies">
|
||||
<EntityTypeMapping TypeName="Model.company">
|
||||
<MappingFragment StoreEntitySet="company">
|
||||
<ScalarProperty Name="last_auto_order_no" ColumnName="last_auto_order_no" />
|
||||
<ScalarProperty Name="num" ColumnName="num" />
|
||||
<ScalarProperty Name="com_name" ColumnName="com_name" />
|
||||
<ScalarProperty Name="com_mail" ColumnName="com_mail" />
|
||||
@@ -5657,11 +5746,6 @@
|
||||
<EntitySetMapping Name="followers">
|
||||
<EntityTypeMapping TypeName="Model.follower">
|
||||
<MappingFragment StoreEntitySet="followers">
|
||||
<ScalarProperty Name="auto_enroll_is_receipt" ColumnName="auto_enroll_is_receipt" />
|
||||
<ScalarProperty Name="auto_enroll_receipt_address" ColumnName="auto_enroll_receipt_address" />
|
||||
<ScalarProperty Name="auto_enroll_receipt_title" ColumnName="auto_enroll_receipt_title" />
|
||||
<ScalarProperty Name="auto_enroll_start_date" ColumnName="auto_enroll_start_date" />
|
||||
<ScalarProperty Name="is_auto_enroll" ColumnName="is_auto_enroll" />
|
||||
<ScalarProperty Name="search_keywords" ColumnName="search_keywords" />
|
||||
<ScalarProperty Name="follower_hash" ColumnName="follower_hash" />
|
||||
<ScalarProperty Name="num" ColumnName="num" />
|
||||
@@ -5845,6 +5929,7 @@
|
||||
<EntitySetMapping Name="pro_order">
|
||||
<EntityTypeMapping TypeName="Model.pro_order">
|
||||
<MappingFragment StoreEntitySet="pro_order">
|
||||
<ScalarProperty Name="au_num" ColumnName="au_num" />
|
||||
<ScalarProperty Name="receipt_title" ColumnName="receipt_title" />
|
||||
<ScalarProperty Name="send_receipt" ColumnName="send_receipt" />
|
||||
<ScalarProperty Name="order_no" ColumnName="order_no" />
|
||||
@@ -6338,6 +6423,18 @@
|
||||
</MappingFragment>
|
||||
</EntityTypeMapping>
|
||||
</EntitySetMapping>
|
||||
<EntitySetMapping Name="auto_enroll">
|
||||
<EntityTypeMapping TypeName="Model.auto_enroll">
|
||||
<MappingFragment StoreEntitySet="auto_enroll">
|
||||
<ScalarProperty Name="receipt_address" ColumnName="receipt_address" />
|
||||
<ScalarProperty Name="receipt_title" ColumnName="receipt_title" />
|
||||
<ScalarProperty Name="end_date" ColumnName="end_date" />
|
||||
<ScalarProperty Name="start_date" ColumnName="start_date" />
|
||||
<ScalarProperty Name="f_num" ColumnName="f_num" />
|
||||
<ScalarProperty Name="num" ColumnName="num" />
|
||||
</MappingFragment>
|
||||
</EntityTypeMapping>
|
||||
</EntitySetMapping>
|
||||
</EntityContainerMapping>
|
||||
</Mapping>
|
||||
</edmx:Mappings>
|
||||
|
||||
Reference in New Issue
Block a user