<?xml version="1.0"?>
<Entity>
	<Name>ContractBiddingSupplier</Name>
	<Type>Single</Type>
	<Table>
		<Name>ContractBiddingSupplier</Name>
		<Column>
			<Name>ContractBiddingSupplierCode</Name>
			<DataType>System.String</DataType>
			<IsKey>true</IsKey>
			<IsAllowNull>false</IsAllowNull>
			<ColumnSize>50</ColumnSize>
		</Column>
		<Column>
			<Name>ContractCode</Name>
			<DataType>System.String</DataType>
			<IsKey>false</IsKey>
			<IsAllowNull>true</IsAllowNull>
			<ColumnSize>50</ColumnSize>
		</Column>
		<Column>
			<Name>SupplierCode</Name>
			<DataType>System.String</DataType>
			<IsKey>false</IsKey>
			<IsAllowNull>true</IsAllowNull>
			<ColumnSize>50</ColumnSize>
		</Column>
		<Column>
			<Name>BiddingCode</Name>
			<DataType>System.String</DataType>
			<IsKey>false</IsKey>
			<IsAllowNull>true</IsAllowNull>
			<ColumnSize>50</ColumnSize>
		</Column>
		<Column>
			<Name>Actor</Name>
			<DataType>System.String</DataType>
			<IsKey>false</IsKey>
			<IsAllowNull>true</IsAllowNull>
			<ColumnSize>200</ColumnSize>
		</Column>
		<Column>
			<Name>Summary</Name>
			<DataType>System.String</DataType>
			<IsKey>false</IsKey>
			<IsAllowNull>true</IsAllowNull>
			<ColumnSize>800</ColumnSize>
		</Column>
		<Column>
			<Name>Opinion</Name>
			<DataType>System.String</DataType>
			<IsKey>false</IsKey>
			<IsAllowNull>true</IsAllowNull>
			<ColumnSize>800</ColumnSize>
		</Column>
		<Sql>
			<Name>Select</Name>
			<String> select  ContractBiddingSupplierCode, ContractCode, SupplierCode, BiddingCode, Actor, Summary, Opinion from ContractBiddingSupplier where  ContractBiddingSupplierCode=@ContractBiddingSupplierCode</String>
			<CommandType>Text</CommandType>
			<Param>
				<Name>@ContractBiddingSupplierCode</Name>
				<Column>ContractBiddingSupplierCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
		</Sql>
		<Sql>
			<Name>SelectAll</Name>
			<String> select  ContractBiddingSupplierCode, ContractCode, SupplierCode, BiddingCode, Actor, Summary, Opinion from ContractBiddingSupplier</String>
			<CommandType>Text</CommandType>
		</Sql>
		<Sql>
			<Name>Insert</Name>
			<String> Insert into ContractBiddingSupplier (  ContractBiddingSupplierCode, ContractCode, SupplierCode, BiddingCode, Actor, Summary, Opinion ) values (  @ContractBiddingSupplierCode, @ContractCode, @SupplierCode, @BiddingCode, @Actor, @Summary, @Opinion )</String>
			<CommandType>Text</CommandType>
			<Param>
				<Name>@ContractBiddingSupplierCode</Name>
				<Column>ContractBiddingSupplierCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
			<Param>
				<Name>@ContractCode</Name>
				<Column>ContractCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
			<Param>
				<Name>@SupplierCode</Name>
				<Column>SupplierCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
			<Param>
				<Name>@BiddingCode</Name>
				<Column>BiddingCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
			<Param>
				<Name>@Actor</Name>
				<Column>Actor</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
			<Param>
				<Name>@Summary</Name>
				<Column>Summary</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
			<Param>
				<Name>@Opinion</Name>
				<Column>Opinion</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
		</Sql>
		<Sql>
			<Name>Update</Name>
			<String> Update ContractBiddingSupplier set ContractCode=@ContractCode,SupplierCode=@SupplierCode,BiddingCode=@BiddingCode,Actor=@Actor,Summary=@Summary,Opinion=@Opinion where  ContractBiddingSupplierCode=@ContractBiddingSupplierCode</String>
			<CommandType>Text</CommandType>
			<Param>
				<Name>@ContractBiddingSupplierCode</Name>
				<Column>ContractBiddingSupplierCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
			<Param>
				<Name>@ContractCode</Name>
				<Column>ContractCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
			<Param>
				<Name>@SupplierCode</Name>
				<Column>SupplierCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
			<Param>
				<Name>@BiddingCode</Name>
				<Column>BiddingCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
			<Param>
				<Name>@Actor</Name>
				<Column>Actor</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
			<Param>
				<Name>@Summary</Name>
				<Column>Summary</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
			<Param>
				<Name>@Opinion</Name>
				<Column>Opinion</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
		</Sql>
		<Sql>
			<Name>Delete</Name>
			<String> Delete from ContractBiddingSupplier  where  ContractBiddingSupplierCode=@ContractBiddingSupplierCode</String>
			<CommandType>Text</CommandType>
			<Param>
				<Name>@ContractBiddingSupplierCode</Name>
				<Column>ContractBiddingSupplierCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
		</Sql>
		<Sql>
			<Name>SelectByContractCode</Name>
			<String> select  ContractBiddingSupplierCode, ContractCode, SupplierCode, BiddingCode, Actor, Summary, Opinion from ContractBiddingSupplier where ContractCode=@ContractCode </String>
			<CommandType>Text</CommandType>
			<Param>
				<Name>@ContractCode</Name>
				<Column>ContractCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
		</Sql>
		<Sql>
			<Name>SelectByBiddingCode</Name>
			<String> select  ContractBiddingSupplierCode, ContractCode, SupplierCode, BiddingCode, Actor, Summary, Opinion from ContractBiddingSupplier where BiddingCode=@BiddingCode </String>
			<CommandType>Text</CommandType>
			<Param>
				<Name>@BiddingCode</Name>
				<Column>BiddingCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
		</Sql>
		<Sql>
			<Name>SelectBySupplierCode</Name>
			<String> select  ContractBiddingSupplierCode, ContractCode, SupplierCode, BiddingCode, Actor, Summary, Opinion from ContractBiddingSupplier where SupplierCode=@SupplierCode </String>
			<CommandType>Text</CommandType>
			<Param>
				<Name>@SupplierCode</Name>
				<Column>SupplierCode</Column>
				<SqlDbType>VarChar</SqlDbType>
			</Param>
		</Sql>
	</Table>
</Entity>