Connected the final project database as a data source.

This commit is contained in:
Adam McCane 2024-02-07 13:23:25 -05:00
parent 8ad5a0a2fa
commit be82ae4b83
11 changed files with 6978 additions and 51 deletions

View File

@ -6,6 +6,9 @@
<add name="Louis__Pharmacy_CNSA212_FP.Properties.Settings.FPCASConnectionString"
connectionString="Data Source=100.102.137.92;Initial Catalog=FPCAS;User ID=admin;Password=password;Encrypt=False"
providerName="System.Data.SqlClient" />
<add name="Louis__Pharmacy_CNSA212_FP.Properties.Settings.FinalProjectOfficialPharmacyConnectionString"
connectionString="Data Source=100.102.137.92;Initial Catalog=FinalProjectOfficialPharmacy;User ID=admin;Password=password;Encrypt=False"
providerName="System.Data.SqlClient" />
</connectionStrings>
<startup>
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1 @@


View File

@ -0,0 +1,663 @@
<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="FinalProjectOfficialPharmacyDataSet" targetNamespace="http://tempuri.org/FinalProjectOfficialPharmacyDataSet.xsd" xmlns:mstns="http://tempuri.org/FinalProjectOfficialPharmacyDataSet.xsd" xmlns="http://tempuri.org/FinalProjectOfficialPharmacyDataSet.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" xmlns:msprop="urn:schemas-microsoft-com:xml-msprop" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:annotation>
<xs:appinfo source="urn:schemas-microsoft-com:xml-msdatasource">
<DataSource DefaultConnectionIndex="0" FunctionsComponentName="QueriesTableAdapter" Modifier="AutoLayout, AnsiClass, Class, Public" SchemaSerializationMode="IncludeSchema" xmlns="urn:schemas-microsoft-com:xml-msdatasource">
<Connections>
<Connection AppSettingsObjectName="Settings" AppSettingsPropertyName="FinalProjectOfficialPharmacyConnectionString" ConnectionStringObject="" IsAppSettingsProperty="true" Modifier="Assembly" Name="FinalProjectOfficialPharmacyConnectionString (Settings)" ParameterPrefix="@" PropertyReference="ApplicationSettings.Louis__Pharmacy_CNSA212_FP.Properties.Settings.GlobalReference.Default.FinalProjectOfficialPharmacyConnectionString" Provider="System.Data.SqlClient" />
</Connections>
<Tables>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="MEDICATIONSTableAdapter" GeneratorDataComponentClassName="MEDICATIONSTableAdapter" Name="MEDICATIONS" UserDataComponentName="MEDICATIONSTableAdapter">
<MainSource>
<DbSource ConnectionRef="FinalProjectOfficialPharmacyConnectionString (Settings)" DbObjectName="FinalProjectOfficialPharmacy.dbo.MEDICATIONS" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[MEDICATIONS] WHERE (([Medication_id] = @Original_Medication_id) AND ((@IsNull_MedicationName = 1 AND [MedicationName] IS NULL) OR ([MedicationName] = @Original_MedicationName)) AND ((@IsNull_IntakeMethod = 1 AND [IntakeMethod] IS NULL) OR ([IntakeMethod] = @Original_IntakeMethod)) AND ((@IsNull_Frequency = 1 AND [Frequency] IS NULL) OR ([Frequency] = @Original_Frequency)) AND ((@IsNull_Dosage = 1 AND [Dosage] IS NULL) OR ([Dosage] = @Original_Dosage)) AND ((@IsNull_Purpose = 1 AND [Purpose] IS NULL) OR ([Purpose] = @Original_Purpose)) AND ((@IsNull_RxNum = 1 AND [RxNum] IS NULL) OR ([RxNum] = @Original_RxNum)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Medication_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Medication_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MedicationName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MedicationName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MedicationName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MedicationName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IntakeMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IntakeMethod" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_IntakeMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IntakeMethod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Frequency" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Frequency" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Frequency" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Frequency" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Dosage" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Dosage" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Dosage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Dosage" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Purpose" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Purpose" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Purpose" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Purpose" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RxNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RxNum" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_RxNum" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RxNum" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[MEDICATIONS] ([Medication_id], [MedicationName], [IntakeMethod], [Frequency], [Dosage], [Purpose], [RxNum]) VALUES (@Medication_id, @MedicationName, @IntakeMethod, @Frequency, @Dosage, @Purpose, @RxNum);
SELECT Medication_id, MedicationName, IntakeMethod, Frequency, Dosage, Purpose, RxNum FROM MEDICATIONS WHERE (Medication_id = @Medication_id)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Medication_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Medication_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MedicationName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MedicationName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@IntakeMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IntakeMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Frequency" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Frequency" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Dosage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Dosage" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Purpose" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Purpose" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@RxNum" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RxNum" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Medication_id, MedicationName, IntakeMethod, Frequency, Dosage, Purpose, RxNum FROM dbo.MEDICATIONS</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[MEDICATIONS] SET [Medication_id] = @Medication_id, [MedicationName] = @MedicationName, [IntakeMethod] = @IntakeMethod, [Frequency] = @Frequency, [Dosage] = @Dosage, [Purpose] = @Purpose, [RxNum] = @RxNum WHERE (([Medication_id] = @Original_Medication_id) AND ((@IsNull_MedicationName = 1 AND [MedicationName] IS NULL) OR ([MedicationName] = @Original_MedicationName)) AND ((@IsNull_IntakeMethod = 1 AND [IntakeMethod] IS NULL) OR ([IntakeMethod] = @Original_IntakeMethod)) AND ((@IsNull_Frequency = 1 AND [Frequency] IS NULL) OR ([Frequency] = @Original_Frequency)) AND ((@IsNull_Dosage = 1 AND [Dosage] IS NULL) OR ([Dosage] = @Original_Dosage)) AND ((@IsNull_Purpose = 1 AND [Purpose] IS NULL) OR ([Purpose] = @Original_Purpose)) AND ((@IsNull_RxNum = 1 AND [RxNum] IS NULL) OR ([RxNum] = @Original_RxNum)));
SELECT Medication_id, MedicationName, IntakeMethod, Frequency, Dosage, Purpose, RxNum FROM MEDICATIONS WHERE (Medication_id = @Medication_id)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Medication_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Medication_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MedicationName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MedicationName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@IntakeMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IntakeMethod" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Frequency" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Frequency" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Dosage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Dosage" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Purpose" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Purpose" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@RxNum" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RxNum" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Medication_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Medication_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MedicationName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MedicationName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MedicationName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MedicationName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_IntakeMethod" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="IntakeMethod" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_IntakeMethod" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="IntakeMethod" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Frequency" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Frequency" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Frequency" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Frequency" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Dosage" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Dosage" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Dosage" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Dosage" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Purpose" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Purpose" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Purpose" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Purpose" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_RxNum" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="RxNum" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_RxNum" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="RxNum" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Medication_id" DataSetColumn="Medication_id" />
<Mapping SourceColumn="MedicationName" DataSetColumn="MedicationName" />
<Mapping SourceColumn="IntakeMethod" DataSetColumn="IntakeMethod" />
<Mapping SourceColumn="Frequency" DataSetColumn="Frequency" />
<Mapping SourceColumn="Dosage" DataSetColumn="Dosage" />
<Mapping SourceColumn="Purpose" DataSetColumn="Purpose" />
<Mapping SourceColumn="RxNum" DataSetColumn="RxNum" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PATIENTTableAdapter" GeneratorDataComponentClassName="PATIENTTableAdapter" Name="PATIENT" UserDataComponentName="PATIENTTableAdapter">
<MainSource>
<DbSource ConnectionRef="FinalProjectOfficialPharmacyConnectionString (Settings)" DbObjectName="FinalProjectOfficialPharmacy.dbo.PATIENT" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[PATIENT] WHERE (([Patient_id] = @Original_Patient_id) AND ((@IsNull_FirstName = 1 AND [FirstName] IS NULL) OR ([FirstName] = @Original_FirstName)) AND ((@IsNull_LastName = 1 AND [LastName] IS NULL) OR ([LastName] = @Original_LastName)) AND ((@IsNull_MiddleIntials = 1 AND [MiddleIntials] IS NULL) OR ([MiddleIntials] = @Original_MiddleIntials)) AND ((@IsNull_Zip = 1 AND [Zip] IS NULL) OR ([Zip] = @Original_Zip)) AND ((@IsNull_City = 1 AND [City] IS NULL) OR ([City] = @Original_City)) AND ((@IsNull_UsState = 1 AND [UsState] IS NULL) OR ([UsState] = @Original_UsState)) AND ((@IsNull_lbs = 1 AND [lbs] IS NULL) OR ([lbs] = @Original_lbs)) AND ((@IsNull_Height_feet = 1 AND [Height_feet] IS NULL) OR ([Height_feet] = @Original_Height_feet)) AND ((@IsNull_Height_inches = 1 AND [Height_inches] IS NULL) OR ([Height_inches] = @Original_Height_inches)) AND ((@IsNull_Ailment = 1 AND [Ailment] IS NULL) OR ([Ailment] = @Original_Ailment)) AND ((@IsNull_DOB = 1 AND [DOB] IS NULL) OR ([DOB] = @Original_DOB)) AND ((@IsNull_PhoneNumber = 1 AND [PhoneNumber] IS NULL) OR ([PhoneNumber] = @Original_PhoneNumber)) AND ((@IsNull_Gender = 1 AND [Gender] IS NULL) OR ([Gender] = @Original_Gender)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Patient_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Patient_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FirstName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LastName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MiddleIntials" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Zip" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_City" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_City" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UsState" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lbs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lbs" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_lbs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lbs" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Height_feet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_feet" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Height_feet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_feet" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Height_inches" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_inches" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Height_inches" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_inches" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Ailment" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ailment" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Ailment" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ailment" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DOB" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PhoneNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Gender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[PATIENT] ([Patient_id], [FirstName], [LastName], [MiddleIntials], [Zip], [City], [UsState], [lbs], [Height_feet], [Height_inches], [Ailment], [DOB], [PhoneNumber], [Gender]) VALUES (@Patient_id, @FirstName, @LastName, @MiddleIntials, @Zip, @City, @UsState, @lbs, @Height_feet, @Height_inches, @Ailment, @DOB, @PhoneNumber, @Gender);
SELECT Patient_id, FirstName, LastName, MiddleIntials, Zip, City, UsState, lbs, Height_feet, Height_inches, Ailment, DOB, PhoneNumber, Gender FROM PATIENT WHERE (Patient_id = @Patient_id)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Patient_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Patient_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@City" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@lbs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lbs" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Height_feet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_feet" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Height_inches" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_inches" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Ailment" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ailment" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Patient_id, FirstName, LastName, MiddleIntials, Zip, City, UsState, lbs, Height_feet, Height_inches, Ailment, DOB, PhoneNumber, Gender FROM dbo.PATIENT</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[PATIENT] SET [Patient_id] = @Patient_id, [FirstName] = @FirstName, [LastName] = @LastName, [MiddleIntials] = @MiddleIntials, [Zip] = @Zip, [City] = @City, [UsState] = @UsState, [lbs] = @lbs, [Height_feet] = @Height_feet, [Height_inches] = @Height_inches, [Ailment] = @Ailment, [DOB] = @DOB, [PhoneNumber] = @PhoneNumber, [Gender] = @Gender WHERE (([Patient_id] = @Original_Patient_id) AND ((@IsNull_FirstName = 1 AND [FirstName] IS NULL) OR ([FirstName] = @Original_FirstName)) AND ((@IsNull_LastName = 1 AND [LastName] IS NULL) OR ([LastName] = @Original_LastName)) AND ((@IsNull_MiddleIntials = 1 AND [MiddleIntials] IS NULL) OR ([MiddleIntials] = @Original_MiddleIntials)) AND ((@IsNull_Zip = 1 AND [Zip] IS NULL) OR ([Zip] = @Original_Zip)) AND ((@IsNull_City = 1 AND [City] IS NULL) OR ([City] = @Original_City)) AND ((@IsNull_UsState = 1 AND [UsState] IS NULL) OR ([UsState] = @Original_UsState)) AND ((@IsNull_lbs = 1 AND [lbs] IS NULL) OR ([lbs] = @Original_lbs)) AND ((@IsNull_Height_feet = 1 AND [Height_feet] IS NULL) OR ([Height_feet] = @Original_Height_feet)) AND ((@IsNull_Height_inches = 1 AND [Height_inches] IS NULL) OR ([Height_inches] = @Original_Height_inches)) AND ((@IsNull_Ailment = 1 AND [Ailment] IS NULL) OR ([Ailment] = @Original_Ailment)) AND ((@IsNull_DOB = 1 AND [DOB] IS NULL) OR ([DOB] = @Original_DOB)) AND ((@IsNull_PhoneNumber = 1 AND [PhoneNumber] IS NULL) OR ([PhoneNumber] = @Original_PhoneNumber)) AND ((@IsNull_Gender = 1 AND [Gender] IS NULL) OR ([Gender] = @Original_Gender)));
SELECT Patient_id, FirstName, LastName, MiddleIntials, Zip, City, UsState, lbs, Height_feet, Height_inches, Ailment, DOB, PhoneNumber, Gender FROM PATIENT WHERE (Patient_id = @Patient_id)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Patient_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Patient_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@City" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@lbs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lbs" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Height_feet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_feet" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Height_inches" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_inches" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Ailment" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ailment" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Patient_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Patient_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FirstName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LastName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MiddleIntials" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Zip" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_City" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_City" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UsState" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_lbs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lbs" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_lbs" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="lbs" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Height_feet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_feet" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Height_feet" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_feet" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Height_inches" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_inches" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Height_inches" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Height_inches" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Ailment" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Ailment" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Ailment" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Ailment" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DOB" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PhoneNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Gender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Patient_id" DataSetColumn="Patient_id" />
<Mapping SourceColumn="FirstName" DataSetColumn="FirstName" />
<Mapping SourceColumn="LastName" DataSetColumn="LastName" />
<Mapping SourceColumn="MiddleIntials" DataSetColumn="MiddleIntials" />
<Mapping SourceColumn="Zip" DataSetColumn="Zip" />
<Mapping SourceColumn="City" DataSetColumn="City" />
<Mapping SourceColumn="UsState" DataSetColumn="UsState" />
<Mapping SourceColumn="lbs" DataSetColumn="lbs" />
<Mapping SourceColumn="Height_feet" DataSetColumn="Height_feet" />
<Mapping SourceColumn="Height_inches" DataSetColumn="Height_inches" />
<Mapping SourceColumn="Ailment" DataSetColumn="Ailment" />
<Mapping SourceColumn="DOB" DataSetColumn="DOB" />
<Mapping SourceColumn="PhoneNumber" DataSetColumn="PhoneNumber" />
<Mapping SourceColumn="Gender" DataSetColumn="Gender" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="PHYSICIANTableAdapter" GeneratorDataComponentClassName="PHYSICIANTableAdapter" Name="PHYSICIAN" UserDataComponentName="PHYSICIANTableAdapter">
<MainSource>
<DbSource ConnectionRef="FinalProjectOfficialPharmacyConnectionString (Settings)" DbObjectName="FinalProjectOfficialPharmacy.dbo.PHYSICIAN" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[PHYSICIAN] WHERE (([Physician_id] = @Original_Physician_id) AND ((@IsNull_FirstName = 1 AND [FirstName] IS NULL) OR ([FirstName] = @Original_FirstName)) AND ((@IsNull_LastName = 1 AND [LastName] IS NULL) OR ([LastName] = @Original_LastName)) AND ((@IsNull_MiddleIntials = 1 AND [MiddleIntials] IS NULL) OR ([MiddleIntials] = @Original_MiddleIntials)) AND ((@IsNull_Zip = 1 AND [Zip] IS NULL) OR ([Zip] = @Original_Zip)) AND ((@IsNull_City = 1 AND [City] IS NULL) OR ([City] = @Original_City)) AND ((@IsNull_UsState = 1 AND [UsState] IS NULL) OR ([UsState] = @Original_UsState)) AND ((@IsNull_DOB = 1 AND [DOB] IS NULL) OR ([DOB] = @Original_DOB)) AND ((@IsNull_PhoneNumber = 1 AND [PhoneNumber] IS NULL) OR ([PhoneNumber] = @Original_PhoneNumber)) AND ((@IsNull_Gender = 1 AND [Gender] IS NULL) OR ([Gender] = @Original_Gender)) AND ((@IsNull_Specialty = 1 AND [Specialty] IS NULL) OR ([Specialty] = @Original_Specialty)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Physician_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Physician_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FirstName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LastName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MiddleIntials" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Zip" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_City" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_City" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UsState" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DOB" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PhoneNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Gender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Specialty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Specialty" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Specialty" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Specialty" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[PHYSICIAN] ([Physician_id], [FirstName], [LastName], [MiddleIntials], [Zip], [City], [UsState], [DOB], [PhoneNumber], [Gender], [Specialty]) VALUES (@Physician_id, @FirstName, @LastName, @MiddleIntials, @Zip, @City, @UsState, @DOB, @PhoneNumber, @Gender, @Specialty);
SELECT Physician_id, FirstName, LastName, MiddleIntials, Zip, City, UsState, DOB, PhoneNumber, Gender, Specialty FROM PHYSICIAN WHERE (Physician_id = @Physician_id)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Physician_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Physician_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@City" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Specialty" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Specialty" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Physician_id, FirstName, LastName, MiddleIntials, Zip, City, UsState, DOB, PhoneNumber, Gender, Specialty FROM dbo.PHYSICIAN</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[PHYSICIAN] SET [Physician_id] = @Physician_id, [FirstName] = @FirstName, [LastName] = @LastName, [MiddleIntials] = @MiddleIntials, [Zip] = @Zip, [City] = @City, [UsState] = @UsState, [DOB] = @DOB, [PhoneNumber] = @PhoneNumber, [Gender] = @Gender, [Specialty] = @Specialty WHERE (([Physician_id] = @Original_Physician_id) AND ((@IsNull_FirstName = 1 AND [FirstName] IS NULL) OR ([FirstName] = @Original_FirstName)) AND ((@IsNull_LastName = 1 AND [LastName] IS NULL) OR ([LastName] = @Original_LastName)) AND ((@IsNull_MiddleIntials = 1 AND [MiddleIntials] IS NULL) OR ([MiddleIntials] = @Original_MiddleIntials)) AND ((@IsNull_Zip = 1 AND [Zip] IS NULL) OR ([Zip] = @Original_Zip)) AND ((@IsNull_City = 1 AND [City] IS NULL) OR ([City] = @Original_City)) AND ((@IsNull_UsState = 1 AND [UsState] IS NULL) OR ([UsState] = @Original_UsState)) AND ((@IsNull_DOB = 1 AND [DOB] IS NULL) OR ([DOB] = @Original_DOB)) AND ((@IsNull_PhoneNumber = 1 AND [PhoneNumber] IS NULL) OR ([PhoneNumber] = @Original_PhoneNumber)) AND ((@IsNull_Gender = 1 AND [Gender] IS NULL) OR ([Gender] = @Original_Gender)) AND ((@IsNull_Specialty = 1 AND [Specialty] IS NULL) OR ([Specialty] = @Original_Specialty)));
SELECT Physician_id, FirstName, LastName, MiddleIntials, Zip, City, UsState, DOB, PhoneNumber, Gender, Specialty FROM PHYSICIAN WHERE (Physician_id = @Physician_id)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Physician_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Physician_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@City" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Specialty" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Specialty" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Physician_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Physician_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_FirstName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_FirstName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="FirstName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_LastName" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_LastName" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="LastName" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_MiddleIntials" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_MiddleIntials" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="MiddleIntials" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Zip" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int16" Direction="Input" ParameterName="@Original_Zip" Precision="0" ProviderType="SmallInt" Scale="0" Size="0" SourceColumn="Zip" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_City" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_City" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="City" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_UsState" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_UsState" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="UsState" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_DOB" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="DateTime" Direction="Input" ParameterName="@Original_DOB" Precision="0" ProviderType="DateTime" Scale="0" Size="0" SourceColumn="DOB" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_PhoneNumber" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_PhoneNumber" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="PhoneNumber" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Gender" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiStringFixedLength" Direction="Input" ParameterName="@Original_Gender" Precision="0" ProviderType="Char" Scale="0" Size="0" SourceColumn="Gender" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Specialty" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Specialty" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Specialty" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Specialty" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Physician_id" DataSetColumn="Physician_id" />
<Mapping SourceColumn="FirstName" DataSetColumn="FirstName" />
<Mapping SourceColumn="LastName" DataSetColumn="LastName" />
<Mapping SourceColumn="MiddleIntials" DataSetColumn="MiddleIntials" />
<Mapping SourceColumn="Zip" DataSetColumn="Zip" />
<Mapping SourceColumn="City" DataSetColumn="City" />
<Mapping SourceColumn="UsState" DataSetColumn="UsState" />
<Mapping SourceColumn="DOB" DataSetColumn="DOB" />
<Mapping SourceColumn="PhoneNumber" DataSetColumn="PhoneNumber" />
<Mapping SourceColumn="Gender" DataSetColumn="Gender" />
<Mapping SourceColumn="Specialty" DataSetColumn="Specialty" />
</Mappings>
<Sources />
</TableAdapter>
<TableAdapter BaseClass="System.ComponentModel.Component" DataAccessorModifier="AutoLayout, AnsiClass, Class, Public" DataAccessorName="REFILLSTableAdapter" GeneratorDataComponentClassName="REFILLSTableAdapter" Name="REFILLS" UserDataComponentName="REFILLSTableAdapter">
<MainSource>
<DbSource ConnectionRef="FinalProjectOfficialPharmacyConnectionString (Settings)" DbObjectName="FinalProjectOfficialPharmacy.dbo.REFILLS" DbObjectType="Table" FillMethodModifier="Public" FillMethodName="Fill" GenerateMethods="Both" GenerateShortCommands="true" GeneratorGetMethodName="GetData" GeneratorSourceName="Fill" GetMethodModifier="Public" GetMethodName="GetData" QueryType="Rowset" ScalarCallRetval="System.Object, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" UseOptimisticConcurrency="true" UserGetMethodName="GetData" UserSourceName="Fill">
<DeleteCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>DELETE FROM [dbo].[REFILLS] WHERE (([Refill_id] = @Original_Refill_id) AND ((@IsNull_Numrefill = 1 AND [Numrefill] IS NULL) OR ([Numrefill] = @Original_Numrefill)) AND ((@IsNull_StartDate = 1 AND [StartDate] IS NULL) OR ([StartDate] = @Original_StartDate)) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)) AND ((@IsNull_NotesAndComments = 1 AND [NotesAndComments] IS NULL) OR ([NotesAndComments] = @Original_NotesAndComments)))</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Refill_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Refill_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Numrefill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numrefill" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Numrefill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numrefill" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NotesAndComments" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NotesAndComments" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_NotesAndComments" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NotesAndComments" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</DeleteCommand>
<InsertCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>INSERT INTO [dbo].[REFILLS] ([Refill_id], [Numrefill], [StartDate], [EndDate], [NotesAndComments]) VALUES (@Refill_id, @Numrefill, @StartDate, @EndDate, @NotesAndComments);
SELECT Refill_id, Numrefill, StartDate, EndDate, NotesAndComments FROM REFILLS WHERE (Refill_id = @Refill_id)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Refill_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Refill_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Numrefill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numrefill" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@NotesAndComments" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NotesAndComments" SourceColumnNullMapping="false" SourceVersion="Current" />
</Parameters>
</DbCommand>
</InsertCommand>
<SelectCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>SELECT Refill_id, Numrefill, StartDate, EndDate, NotesAndComments FROM dbo.REFILLS</CommandText>
<Parameters />
</DbCommand>
</SelectCommand>
<UpdateCommand>
<DbCommand CommandType="Text" ModifiedByUser="false">
<CommandText>UPDATE [dbo].[REFILLS] SET [Refill_id] = @Refill_id, [Numrefill] = @Numrefill, [StartDate] = @StartDate, [EndDate] = @EndDate, [NotesAndComments] = @NotesAndComments WHERE (([Refill_id] = @Original_Refill_id) AND ((@IsNull_Numrefill = 1 AND [Numrefill] IS NULL) OR ([Numrefill] = @Original_Numrefill)) AND ((@IsNull_StartDate = 1 AND [StartDate] IS NULL) OR ([StartDate] = @Original_StartDate)) AND ((@IsNull_EndDate = 1 AND [EndDate] IS NULL) OR ([EndDate] = @Original_EndDate)) AND ((@IsNull_NotesAndComments = 1 AND [NotesAndComments] IS NULL) OR ([NotesAndComments] = @Original_NotesAndComments)));
SELECT Refill_id, Numrefill, StartDate, EndDate, NotesAndComments FROM REFILLS WHERE (Refill_id = @Refill_id)</CommandText>
<Parameters>
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Refill_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Refill_id" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Numrefill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numrefill" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@StartDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@EndDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@NotesAndComments" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NotesAndComments" SourceColumnNullMapping="false" SourceVersion="Current" />
<Parameter AllowDbNull="false" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_Refill_id" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="Refill_id" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_Numrefill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numrefill" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@Original_Numrefill" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="Numrefill" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_StartDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_StartDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="StartDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_EndDate" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Date" Direction="Input" ParameterName="@Original_EndDate" Precision="0" ProviderType="Date" Scale="0" Size="0" SourceColumn="EndDate" SourceColumnNullMapping="false" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="Int32" Direction="Input" ParameterName="@IsNull_NotesAndComments" Precision="0" ProviderType="Int" Scale="0" Size="0" SourceColumn="NotesAndComments" SourceColumnNullMapping="true" SourceVersion="Original" />
<Parameter AllowDbNull="true" AutogeneratedName="" DataSourceName="" DbType="AnsiString" Direction="Input" ParameterName="@Original_NotesAndComments" Precision="0" ProviderType="VarChar" Scale="0" Size="0" SourceColumn="NotesAndComments" SourceColumnNullMapping="false" SourceVersion="Original" />
</Parameters>
</DbCommand>
</UpdateCommand>
</DbSource>
</MainSource>
<Mappings>
<Mapping SourceColumn="Refill_id" DataSetColumn="Refill_id" />
<Mapping SourceColumn="Numrefill" DataSetColumn="Numrefill" />
<Mapping SourceColumn="StartDate" DataSetColumn="StartDate" />
<Mapping SourceColumn="EndDate" DataSetColumn="EndDate" />
<Mapping SourceColumn="NotesAndComments" DataSetColumn="NotesAndComments" />
</Mappings>
<Sources />
</TableAdapter>
</Tables>
<Sources />
</DataSource>
</xs:appinfo>
</xs:annotation>
<xs:element name="FinalProjectOfficialPharmacyDataSet" msdata:IsDataSet="true" msdata:UseCurrentLocale="true" msprop:EnableTableAdapterManager="True" msprop:Generator_UserDSName="FinalProjectOfficialPharmacyDataSet" msprop:Generator_DataSetName="FinalProjectOfficialPharmacyDataSet">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element name="MEDICATIONS" msprop:Generator_RowEvHandlerName="MEDICATIONSRowChangeEventHandler" msprop:Generator_RowDeletedName="MEDICATIONSRowDeleted" msprop:Generator_RowDeletingName="MEDICATIONSRowDeleting" msprop:Generator_RowEvArgName="MEDICATIONSRowChangeEvent" msprop:Generator_TablePropName="MEDICATIONS" msprop:Generator_RowChangedName="MEDICATIONSRowChanged" msprop:Generator_RowChangingName="MEDICATIONSRowChanging" msprop:Generator_TableClassName="MEDICATIONSDataTable" msprop:Generator_RowClassName="MEDICATIONSRow" msprop:Generator_TableVarName="tableMEDICATIONS" msprop:Generator_UserTableName="MEDICATIONS">
<xs:complexType>
<xs:sequence>
<xs:element name="Medication_id" msprop:Generator_ColumnPropNameInRow="Medication_id" msprop:Generator_ColumnPropNameInTable="Medication_idColumn" msprop:Generator_ColumnVarNameInTable="columnMedication_id" msprop:Generator_UserColumnName="Medication_id">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="7" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MedicationName" msprop:Generator_ColumnPropNameInRow="MedicationName" msprop:Generator_ColumnPropNameInTable="MedicationNameColumn" msprop:Generator_ColumnVarNameInTable="columnMedicationName" msprop:Generator_UserColumnName="MedicationName" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="60" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="IntakeMethod" msprop:Generator_ColumnPropNameInRow="IntakeMethod" msprop:Generator_ColumnPropNameInTable="IntakeMethodColumn" msprop:Generator_ColumnVarNameInTable="columnIntakeMethod" msprop:Generator_UserColumnName="IntakeMethod" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Frequency" msprop:Generator_ColumnPropNameInRow="Frequency" msprop:Generator_ColumnPropNameInTable="FrequencyColumn" msprop:Generator_ColumnVarNameInTable="columnFrequency" msprop:Generator_UserColumnName="Frequency" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Dosage" msprop:Generator_ColumnPropNameInRow="Dosage" msprop:Generator_ColumnPropNameInTable="DosageColumn" msprop:Generator_ColumnVarNameInTable="columnDosage" msprop:Generator_UserColumnName="Dosage" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Purpose" msprop:Generator_ColumnPropNameInRow="Purpose" msprop:Generator_ColumnPropNameInTable="PurposeColumn" msprop:Generator_ColumnVarNameInTable="columnPurpose" msprop:Generator_UserColumnName="Purpose" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="RxNum" msprop:Generator_ColumnPropNameInRow="RxNum" msprop:Generator_ColumnPropNameInTable="RxNumColumn" msprop:Generator_ColumnVarNameInTable="columnRxNum" msprop:Generator_UserColumnName="RxNum" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="11" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PATIENT" msprop:Generator_RowEvHandlerName="PATIENTRowChangeEventHandler" msprop:Generator_RowDeletedName="PATIENTRowDeleted" msprop:Generator_RowDeletingName="PATIENTRowDeleting" msprop:Generator_RowEvArgName="PATIENTRowChangeEvent" msprop:Generator_TablePropName="PATIENT" msprop:Generator_RowChangedName="PATIENTRowChanged" msprop:Generator_RowChangingName="PATIENTRowChanging" msprop:Generator_TableClassName="PATIENTDataTable" msprop:Generator_RowClassName="PATIENTRow" msprop:Generator_TableVarName="tablePATIENT" msprop:Generator_UserTableName="PATIENT">
<xs:complexType>
<xs:sequence>
<xs:element name="Patient_id" msprop:Generator_ColumnPropNameInRow="Patient_id" msprop:Generator_ColumnPropNameInTable="Patient_idColumn" msprop:Generator_ColumnVarNameInTable="columnPatient_id" msprop:Generator_UserColumnName="Patient_id">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="8" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FirstName" msprop:Generator_ColumnPropNameInRow="FirstName" msprop:Generator_ColumnPropNameInTable="FirstNameColumn" msprop:Generator_ColumnVarNameInTable="columnFirstName" msprop:Generator_UserColumnName="FirstName" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LastName" msprop:Generator_ColumnPropNameInRow="LastName" msprop:Generator_ColumnPropNameInTable="LastNameColumn" msprop:Generator_ColumnVarNameInTable="columnLastName" msprop:Generator_UserColumnName="LastName" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MiddleIntials" msprop:Generator_ColumnPropNameInRow="MiddleIntials" msprop:Generator_ColumnPropNameInTable="MiddleIntialsColumn" msprop:Generator_ColumnVarNameInTable="columnMiddleIntials" msprop:Generator_UserColumnName="MiddleIntials" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Zip" msprop:Generator_ColumnPropNameInRow="Zip" msprop:Generator_ColumnPropNameInTable="ZipColumn" msprop:Generator_ColumnVarNameInTable="columnZip" msprop:Generator_UserColumnName="Zip" type="xs:short" minOccurs="0" />
<xs:element name="City" msprop:Generator_ColumnPropNameInRow="City" msprop:Generator_ColumnPropNameInTable="CityColumn" msprop:Generator_ColumnVarNameInTable="columnCity" msprop:Generator_UserColumnName="City" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UsState" msprop:Generator_ColumnPropNameInRow="UsState" msprop:Generator_ColumnPropNameInTable="UsStateColumn" msprop:Generator_ColumnVarNameInTable="columnUsState" msprop:Generator_UserColumnName="UsState" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="lbs" msprop:Generator_ColumnPropNameInRow="lbs" msprop:Generator_ColumnPropNameInTable="lbsColumn" msprop:Generator_ColumnVarNameInTable="columnlbs" msprop:Generator_UserColumnName="lbs" type="xs:int" minOccurs="0" />
<xs:element name="Height_feet" msprop:Generator_ColumnPropNameInRow="Height_feet" msprop:Generator_ColumnPropNameInTable="Height_feetColumn" msprop:Generator_ColumnVarNameInTable="columnHeight_feet" msprop:Generator_UserColumnName="Height_feet" type="xs:int" minOccurs="0" />
<xs:element name="Height_inches" msprop:Generator_ColumnPropNameInRow="Height_inches" msprop:Generator_ColumnPropNameInTable="Height_inchesColumn" msprop:Generator_ColumnVarNameInTable="columnHeight_inches" msprop:Generator_UserColumnName="Height_inches" type="xs:int" minOccurs="0" />
<xs:element name="Ailment" msprop:Generator_ColumnPropNameInRow="Ailment" msprop:Generator_ColumnPropNameInTable="AilmentColumn" msprop:Generator_ColumnVarNameInTable="columnAilment" msprop:Generator_UserColumnName="Ailment" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DOB" msprop:Generator_ColumnPropNameInRow="DOB" msprop:Generator_ColumnPropNameInTable="DOBColumn" msprop:Generator_ColumnVarNameInTable="columnDOB" msprop:Generator_UserColumnName="DOB" type="xs:dateTime" minOccurs="0" />
<xs:element name="PhoneNumber" msprop:Generator_ColumnPropNameInRow="PhoneNumber" msprop:Generator_ColumnPropNameInTable="PhoneNumberColumn" msprop:Generator_ColumnVarNameInTable="columnPhoneNumber" msprop:Generator_UserColumnName="PhoneNumber" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="14" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Gender" msprop:Generator_ColumnPropNameInRow="Gender" msprop:Generator_ColumnPropNameInTable="GenderColumn" msprop:Generator_ColumnVarNameInTable="columnGender" msprop:Generator_UserColumnName="Gender" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="PHYSICIAN" msprop:Generator_RowEvHandlerName="PHYSICIANRowChangeEventHandler" msprop:Generator_RowDeletedName="PHYSICIANRowDeleted" msprop:Generator_RowDeletingName="PHYSICIANRowDeleting" msprop:Generator_RowEvArgName="PHYSICIANRowChangeEvent" msprop:Generator_TablePropName="PHYSICIAN" msprop:Generator_RowChangedName="PHYSICIANRowChanged" msprop:Generator_RowChangingName="PHYSICIANRowChanging" msprop:Generator_TableClassName="PHYSICIANDataTable" msprop:Generator_RowClassName="PHYSICIANRow" msprop:Generator_TableVarName="tablePHYSICIAN" msprop:Generator_UserTableName="PHYSICIAN">
<xs:complexType>
<xs:sequence>
<xs:element name="Physician_id" msprop:Generator_ColumnPropNameInRow="Physician_id" msprop:Generator_ColumnPropNameInTable="Physician_idColumn" msprop:Generator_ColumnVarNameInTable="columnPhysician_id" msprop:Generator_UserColumnName="Physician_id">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="8" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="FirstName" msprop:Generator_ColumnPropNameInRow="FirstName" msprop:Generator_ColumnPropNameInTable="FirstNameColumn" msprop:Generator_ColumnVarNameInTable="columnFirstName" msprop:Generator_UserColumnName="FirstName" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="LastName" msprop:Generator_ColumnPropNameInRow="LastName" msprop:Generator_ColumnPropNameInTable="LastNameColumn" msprop:Generator_ColumnVarNameInTable="columnLastName" msprop:Generator_UserColumnName="LastName" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="MiddleIntials" msprop:Generator_ColumnPropNameInRow="MiddleIntials" msprop:Generator_ColumnPropNameInTable="MiddleIntialsColumn" msprop:Generator_ColumnVarNameInTable="columnMiddleIntials" msprop:Generator_UserColumnName="MiddleIntials" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Zip" msprop:Generator_ColumnPropNameInRow="Zip" msprop:Generator_ColumnPropNameInTable="ZipColumn" msprop:Generator_ColumnVarNameInTable="columnZip" msprop:Generator_UserColumnName="Zip" type="xs:short" minOccurs="0" />
<xs:element name="City" msprop:Generator_ColumnPropNameInRow="City" msprop:Generator_ColumnPropNameInTable="CityColumn" msprop:Generator_ColumnVarNameInTable="columnCity" msprop:Generator_UserColumnName="City" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="30" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="UsState" msprop:Generator_ColumnPropNameInRow="UsState" msprop:Generator_ColumnPropNameInTable="UsStateColumn" msprop:Generator_ColumnVarNameInTable="columnUsState" msprop:Generator_UserColumnName="UsState" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="2" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="DOB" msprop:Generator_ColumnPropNameInRow="DOB" msprop:Generator_ColumnPropNameInTable="DOBColumn" msprop:Generator_ColumnVarNameInTable="columnDOB" msprop:Generator_UserColumnName="DOB" type="xs:dateTime" minOccurs="0" />
<xs:element name="PhoneNumber" msprop:Generator_ColumnPropNameInRow="PhoneNumber" msprop:Generator_ColumnPropNameInTable="PhoneNumberColumn" msprop:Generator_ColumnVarNameInTable="columnPhoneNumber" msprop:Generator_UserColumnName="PhoneNumber" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="14" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Gender" msprop:Generator_ColumnPropNameInRow="Gender" msprop:Generator_ColumnPropNameInTable="GenderColumn" msprop:Generator_ColumnVarNameInTable="columnGender" msprop:Generator_UserColumnName="Gender" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="1" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Specialty" msprop:Generator_ColumnPropNameInRow="Specialty" msprop:Generator_ColumnPropNameInTable="SpecialtyColumn" msprop:Generator_ColumnVarNameInTable="columnSpecialty" msprop:Generator_UserColumnName="Specialty" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="100" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="REFILLS" msprop:Generator_RowEvHandlerName="REFILLSRowChangeEventHandler" msprop:Generator_RowDeletedName="REFILLSRowDeleted" msprop:Generator_RowDeletingName="REFILLSRowDeleting" msprop:Generator_RowEvArgName="REFILLSRowChangeEvent" msprop:Generator_TablePropName="REFILLS" msprop:Generator_RowChangedName="REFILLSRowChanged" msprop:Generator_RowChangingName="REFILLSRowChanging" msprop:Generator_TableClassName="REFILLSDataTable" msprop:Generator_RowClassName="REFILLSRow" msprop:Generator_TableVarName="tableREFILLS" msprop:Generator_UserTableName="REFILLS">
<xs:complexType>
<xs:sequence>
<xs:element name="Refill_id" msprop:Generator_ColumnPropNameInRow="Refill_id" msprop:Generator_ColumnPropNameInTable="Refill_idColumn" msprop:Generator_ColumnVarNameInTable="columnRefill_id" msprop:Generator_UserColumnName="Refill_id">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="6" />
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element name="Numrefill" msprop:Generator_ColumnPropNameInRow="Numrefill" msprop:Generator_ColumnPropNameInTable="NumrefillColumn" msprop:Generator_ColumnVarNameInTable="columnNumrefill" msprop:Generator_UserColumnName="Numrefill" type="xs:int" minOccurs="0" />
<xs:element name="StartDate" msprop:Generator_ColumnPropNameInRow="StartDate" msprop:Generator_ColumnPropNameInTable="StartDateColumn" msprop:Generator_ColumnVarNameInTable="columnStartDate" msprop:Generator_UserColumnName="StartDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="EndDate" msprop:Generator_ColumnPropNameInRow="EndDate" msprop:Generator_ColumnPropNameInTable="EndDateColumn" msprop:Generator_ColumnVarNameInTable="columnEndDate" msprop:Generator_UserColumnName="EndDate" type="xs:dateTime" minOccurs="0" />
<xs:element name="NotesAndComments" msprop:Generator_ColumnPropNameInRow="NotesAndComments" msprop:Generator_ColumnPropNameInTable="NotesAndCommentsColumn" msprop:Generator_ColumnVarNameInTable="columnNotesAndComments" msprop:Generator_UserColumnName="NotesAndComments" minOccurs="0">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:maxLength value="200" />
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:complexType>
<xs:unique name="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:MEDICATIONS" />
<xs:field xpath="mstns:Medication_id" />
</xs:unique>
<xs:unique name="PATIENT_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:PATIENT" />
<xs:field xpath="mstns:Patient_id" />
</xs:unique>
<xs:unique name="PHYSICIAN_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:PHYSICIAN" />
<xs:field xpath="mstns:Physician_id" />
</xs:unique>
<xs:unique name="REFILLS_Constraint1" msdata:ConstraintName="Constraint1" msdata:PrimaryKey="true">
<xs:selector xpath=".//mstns:REFILLS" />
<xs:field xpath="mstns:Refill_id" />
</xs:unique>
</xs:element>
</xs:schema>

View File

@ -0,0 +1 @@


View File

@ -46,6 +46,11 @@
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="FinalProjectOfficialPharmacyDataSet.Designer.cs">
<AutoGen>True</AutoGen>
<DesignTime>True</DesignTime>
<DependentUpon>FinalProjectOfficialPharmacyDataSet.xsd</DependentUpon>
</Compile>
<Compile Include="frmInfo.cs">
<SubType>Form</SubType>
</Compile>
@ -111,6 +116,17 @@
<AutoGen>True</AutoGen>
<DependentUpon>Resources.resx</DependentUpon>
</Compile>
<None Include="FinalProjectOfficialPharmacyDataSet.xsc">
<DependentUpon>FinalProjectOfficialPharmacyDataSet.xsd</DependentUpon>
</None>
<None Include="FinalProjectOfficialPharmacyDataSet.xsd">
<Generator>MSDataSetGenerator</Generator>
<LastGenOutput>FinalProjectOfficialPharmacyDataSet.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</None>
<None Include="FinalProjectOfficialPharmacyDataSet.xss">
<DependentUpon>FinalProjectOfficialPharmacyDataSet.xsd</DependentUpon>
</None>
<None Include="Properties\Settings.settings">
<Generator>SettingsSingleFileGenerator</Generator>
<LastGenOutput>Settings.Designer.cs</LastGenOutput>

View File

@ -33,5 +33,16 @@ namespace Louis__Pharmacy_CNSA212_FP.Properties {
return ((string)(this["FPCASConnectionString"]));
}
}
[global::System.Configuration.ApplicationScopedSettingAttribute()]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Configuration.SpecialSettingAttribute(global::System.Configuration.SpecialSetting.ConnectionString)]
[global::System.Configuration.DefaultSettingValueAttribute("Data Source=100.102.137.92;Initial Catalog=FinalProjectOfficialPharmacy;User ID=a" +
"dmin;Password=password;Encrypt=False")]
public string FinalProjectOfficialPharmacyConnectionString {
get {
return ((string)(this["FinalProjectOfficialPharmacyConnectionString"]));
}
}
}
}

View File

@ -10,5 +10,13 @@
&lt;/SerializableConnectionString&gt;</DesignTimeValue>
<Value Profile="(Default)">Data Source=100.102.137.92;Initial Catalog=FPCAS;User ID=admin;Password=password;Encrypt=False</Value>
</Setting>
<Setting Name="FinalProjectOfficialPharmacyConnectionString" Type="(Connection string)" Scope="Application">
<DesignTimeValue Profile="(Default)">&lt;?xml version="1.0" encoding="utf-16"?&gt;
&lt;SerializableConnectionString xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
&lt;ConnectionString&gt;Data Source=100.102.137.92;Initial Catalog=FinalProjectOfficialPharmacy;User ID=admin;Password=password;Encrypt=False&lt;/ConnectionString&gt;
&lt;ProviderName&gt;System.Data.SqlClient&lt;/ProviderName&gt;
&lt;/SerializableConnectionString&gt;</DesignTimeValue>
<Value Profile="(Default)">Data Source=100.102.137.92;Initial Catalog=FinalProjectOfficialPharmacy;User ID=admin;Password=password;Encrypt=False</Value>
</Setting>
</Settings>
</SettingsFile>

View File

@ -29,15 +29,12 @@ namespace Louis__Pharmacy_CNSA212_FP
/// </summary>
private void InitializeComponent()
{
this.components = new System.ComponentModel.Container();
System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(frmInfo));
this.tbcInfo = new System.Windows.Forms.TabControl();
this.tbpPatient = new System.Windows.Forms.TabPage();
this.splcPatient = new System.Windows.Forms.SplitContainer();
this.btnPatientSearch = new System.Windows.Forms.Button();
this.txtPatientLast = new System.Windows.Forms.TextBox();
this.txtPatientFirst = new System.Windows.Forms.TextBox();
this.lblPatientLast = new System.Windows.Forms.Label();
this.lblPatientFirst = new System.Windows.Forms.Label();
this.tbpPrescription = new System.Windows.Forms.TabPage();
this.splcPrescription = new System.Windows.Forms.SplitContainer();
this.btnPrescriptionSearch = new System.Windows.Forms.Button();
@ -52,6 +49,10 @@ namespace Louis__Pharmacy_CNSA212_FP
this.txtPhysicianFirst = new System.Windows.Forms.TextBox();
this.lblPhysicianLast = new System.Windows.Forms.Label();
this.lblPhysicianFirst = new System.Windows.Forms.Label();
this.finalProjectOfficialPharmacyDataSet = new Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSet();
this.pATIENTBindingSource = new System.Windows.Forms.BindingSource(this.components);
this.pATIENTTableAdapter = new Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSetTableAdapters.PATIENTTableAdapter();
this.tableAdapterManager = new Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSetTableAdapters.TableAdapterManager();
this.tbcInfo.SuspendLayout();
this.tbpPatient.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.splcPatient)).BeginInit();
@ -65,6 +66,8 @@ namespace Louis__Pharmacy_CNSA212_FP
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).BeginInit();
this.splcPhysician.Panel1.SuspendLayout();
this.splcPhysician.SuspendLayout();
((System.ComponentModel.ISupportInitialize)(this.finalProjectOfficialPharmacyDataSet)).BeginInit();
((System.ComponentModel.ISupportInitialize)(this.pATIENTBindingSource)).BeginInit();
this.SuspendLayout();
//
// tbcInfo
@ -75,7 +78,7 @@ namespace Louis__Pharmacy_CNSA212_FP
this.tbcInfo.Location = new System.Drawing.Point(12, 12);
this.tbcInfo.Name = "tbcInfo";
this.tbcInfo.SelectedIndex = 0;
this.tbcInfo.Size = new System.Drawing.Size(666, 356);
this.tbcInfo.Size = new System.Drawing.Size(666, 441);
this.tbcInfo.TabIndex = 1;
//
// tbpPatient
@ -83,7 +86,7 @@ namespace Louis__Pharmacy_CNSA212_FP
this.tbpPatient.Controls.Add(this.splcPatient);
this.tbpPatient.Location = new System.Drawing.Point(4, 22);
this.tbpPatient.Name = "tbpPatient";
this.tbpPatient.Size = new System.Drawing.Size(658, 330);
this.tbpPatient.Size = new System.Drawing.Size(658, 415);
this.tbpPatient.TabIndex = 3;
this.tbpPatient.Text = "Patient Info";
this.tbpPatient.UseVisualStyleBackColor = true;
@ -98,12 +101,12 @@ namespace Louis__Pharmacy_CNSA212_FP
// splcPatient.Panel1
//
this.splcPatient.Panel1.Controls.Add(this.btnPatientSearch);
this.splcPatient.Panel1.Controls.Add(this.txtPatientLast);
this.splcPatient.Panel1.Controls.Add(this.txtPatientFirst);
this.splcPatient.Panel1.Controls.Add(this.lblPatientLast);
this.splcPatient.Panel1.Controls.Add(this.lblPatientFirst);
this.splcPatient.Size = new System.Drawing.Size(658, 330);
this.splcPatient.SplitterDistance = 166;
//
// splcPatient.Panel2
//
this.splcPatient.Panel2.AutoScroll = true;
this.splcPatient.Size = new System.Drawing.Size(658, 415);
this.splcPatient.SplitterDistance = 186;
this.splcPatient.TabIndex = 0;
//
// btnPatientSearch
@ -116,39 +119,6 @@ namespace Louis__Pharmacy_CNSA212_FP
this.btnPatientSearch.Text = "Search";
this.btnPatientSearch.UseVisualStyleBackColor = false;
//
// txtPatientLast
//
this.txtPatientLast.Location = new System.Drawing.Point(141, 67);
this.txtPatientLast.Name = "txtPatientLast";
this.txtPatientLast.Size = new System.Drawing.Size(100, 20);
this.txtPatientLast.TabIndex = 3;
//
// txtPatientFirst
//
this.txtPatientFirst.Location = new System.Drawing.Point(141, 33);
this.txtPatientFirst.Name = "txtPatientFirst";
this.txtPatientFirst.Size = new System.Drawing.Size(100, 20);
this.txtPatientFirst.TabIndex = 2;
//
// lblPatientLast
//
this.lblPatientLast.AutoSize = true;
this.lblPatientLast.Location = new System.Drawing.Point(47, 67);
this.lblPatientLast.Name = "lblPatientLast";
this.lblPatientLast.Size = new System.Drawing.Size(61, 13);
this.lblPatientLast.TabIndex = 1;
this.lblPatientLast.Text = "Last Name:";
//
// lblPatientFirst
//
this.lblPatientFirst.AutoSize = true;
this.lblPatientFirst.Location = new System.Drawing.Point(44, 33);
this.lblPatientFirst.Margin = new System.Windows.Forms.Padding(2, 0, 2, 0);
this.lblPatientFirst.Name = "lblPatientFirst";
this.lblPatientFirst.Size = new System.Drawing.Size(60, 13);
this.lblPatientFirst.TabIndex = 0;
this.lblPatientFirst.Text = "First Name:";
//
// tbpPrescription
//
this.tbpPrescription.Controls.Add(this.splcPrescription);
@ -290,11 +260,34 @@ namespace Louis__Pharmacy_CNSA212_FP
this.lblPhysicianFirst.TabIndex = 0;
this.lblPhysicianFirst.Text = "First Name:";
//
// finalProjectOfficialPharmacyDataSet
//
this.finalProjectOfficialPharmacyDataSet.DataSetName = "FinalProjectOfficialPharmacyDataSet";
this.finalProjectOfficialPharmacyDataSet.SchemaSerializationMode = System.Data.SchemaSerializationMode.IncludeSchema;
//
// pATIENTBindingSource
//
this.pATIENTBindingSource.DataMember = "PATIENT";
this.pATIENTBindingSource.DataSource = this.finalProjectOfficialPharmacyDataSet;
//
// pATIENTTableAdapter
//
this.pATIENTTableAdapter.ClearBeforeFill = true;
//
// tableAdapterManager
//
this.tableAdapterManager.BackupDataSetBeforeUpdate = false;
this.tableAdapterManager.MEDICATIONSTableAdapter = null;
this.tableAdapterManager.PATIENTTableAdapter = this.pATIENTTableAdapter;
this.tableAdapterManager.PHYSICIANTableAdapter = null;
this.tableAdapterManager.REFILLSTableAdapter = null;
this.tableAdapterManager.UpdateOrder = Louis__Pharmacy_CNSA212_FP.FinalProjectOfficialPharmacyDataSetTableAdapters.TableAdapterManager.UpdateOrderOption.InsertUpdateDelete;
//
// frmInfo
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.ClientSize = new System.Drawing.Size(690, 380);
this.ClientSize = new System.Drawing.Size(737, 465);
this.Controls.Add(this.tbcInfo);
this.Icon = ((System.Drawing.Icon)(resources.GetObject("$this.Icon")));
this.Margin = new System.Windows.Forms.Padding(2, 2, 2, 2);
@ -304,7 +297,6 @@ namespace Louis__Pharmacy_CNSA212_FP
this.tbcInfo.ResumeLayout(false);
this.tbpPatient.ResumeLayout(false);
this.splcPatient.Panel1.ResumeLayout(false);
this.splcPatient.Panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splcPatient)).EndInit();
this.splcPatient.ResumeLayout(false);
this.tbpPrescription.ResumeLayout(false);
@ -317,6 +309,8 @@ namespace Louis__Pharmacy_CNSA212_FP
this.splcPhysician.Panel1.PerformLayout();
((System.ComponentModel.ISupportInitialize)(this.splcPhysician)).EndInit();
this.splcPhysician.ResumeLayout(false);
((System.ComponentModel.ISupportInitialize)(this.finalProjectOfficialPharmacyDataSet)).EndInit();
((System.ComponentModel.ISupportInitialize)(this.pATIENTBindingSource)).EndInit();
this.ResumeLayout(false);
}
@ -329,10 +323,6 @@ namespace Louis__Pharmacy_CNSA212_FP
private System.Windows.Forms.TabPage tbpPrescription;
private System.Windows.Forms.SplitContainer splcPatient;
private System.Windows.Forms.SplitContainer splcPrescription;
private System.Windows.Forms.TextBox txtPatientFirst;
private System.Windows.Forms.Label lblPatientLast;
private System.Windows.Forms.Label lblPatientFirst;
private System.Windows.Forms.TextBox txtPatientLast;
private System.Windows.Forms.Button btnPatientSearch;
private System.Windows.Forms.TextBox txtRxNumber;
private System.Windows.Forms.Label lblPrescriptionLast;
@ -344,5 +334,9 @@ namespace Louis__Pharmacy_CNSA212_FP
private System.Windows.Forms.Label lblPhysicianLast;
private System.Windows.Forms.Label lblPhysicianFirst;
private System.Windows.Forms.Button btnPhysicianSearch;
private FinalProjectOfficialPharmacyDataSet finalProjectOfficialPharmacyDataSet;
private System.Windows.Forms.BindingSource pATIENTBindingSource;
private FinalProjectOfficialPharmacyDataSetTableAdapters.PATIENTTableAdapter pATIENTTableAdapter;
private FinalProjectOfficialPharmacyDataSetTableAdapters.TableAdapterManager tableAdapterManager;
}
}

View File

@ -19,6 +19,8 @@ namespace Louis__Pharmacy_CNSA212_FP
private void frmInfo_Load(object sender, EventArgs e)
{
// TODO: This line of code loads data into the 'finalProjectOfficialPharmacyDataSet.PATIENT' table. You can move, or remove it, as needed.
this.pATIENTTableAdapter.Fill(this.finalProjectOfficialPharmacyDataSet.PATIENT);
// TODO: This line of code loads data into the 'fPCASDataSet.patientCount' table. You can move, or remove it, as needed.
//this.patientCountTableAdapter.Fill(this.FPCASDataSet.patientCount);
@ -28,5 +30,13 @@ namespace Louis__Pharmacy_CNSA212_FP
{
}
private void pATIENTBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
this.Validate();
this.pATIENTBindingSource.EndEdit();
this.tableAdapterManager.UpdateAll(this.finalProjectOfficialPharmacyDataSet);
}
}
}

View File

@ -117,6 +117,18 @@
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<metadata name="finalProjectOfficialPharmacyDataSet.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>17, 17</value>
</metadata>
<metadata name="pATIENTBindingSource.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>262, 17</value>
</metadata>
<metadata name="pATIENTTableAdapter.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>437, 17</value>
</metadata>
<metadata name="tableAdapterManager.TrayLocation" type="System.Drawing.Point, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<value>604, 17</value>
</metadata>
<assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
<data name="$this.Icon" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>