BootstrapBlazor.Table.Freesql 9.0.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package BootstrapBlazor.Table.Freesql --version 9.0.0                
NuGet\Install-Package BootstrapBlazor.Table.Freesql -Version 9.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="BootstrapBlazor.Table.Freesql" Version="9.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add BootstrapBlazor.Table.Freesql --version 9.0.0                
#r "nuget: BootstrapBlazor.Table.Freesql, 9.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install BootstrapBlazor.Table.Freesql as a Cake Addin
#addin nuget:?package=BootstrapBlazor.Table.Freesql&version=9.0.0

// Install BootstrapBlazor.Table.Freesql as a Cake Tool
#tool nuget:?package=BootstrapBlazor.Table.Freesql&version=9.0.0                

BootstrapBlazor 的 Table 扩展

示例1:PinPaiName=品牌商1

@using FreeSql.Internal.Model

<TableAdv DynamicFilterInfo="DynamicFilterInfo" />

@code {
    DynamicFilterInfo DynamicFilterInfo =>
        new DynamicFilterInfo()
        {
            Field = nameof(XianMu.PinPaiName),
            Operator = DynamicFilterOperator.Equal,
            Value = "品牌商1"
        };
}

示例2:(PinPaiName=品牌商1 && QuDaoShangName=渠道商2) || TuiGuangShangName=推广商3

@using FreeSql.Internal.Model

<TableAdv DynamicFilterInfo="DynamicFilterInfo" />

@code {
    DynamicFilterInfo DynamicFilterInfo => GenDynamicFilterInfo();

    DynamicFilterInfo GenDynamicFilterInfo()
    {
        //第一层
        var filters = new List<DynamicFilterInfo>();

        filters.Add(new DynamicFilterInfo()
        {
            Field = nameof(XianMu.PinPaiName),
            Operator = DynamicFilterOperator.Equal,
            Value = "品牌商1"
        });


        filters.Add(new DynamicFilterInfo()
        {
            Field = nameof(XianMu.QuDaoShangName),
            Operator = DynamicFilterOperator.Equal,
            Value = "渠道商2"
        });

        DynamicFilterInfo filterWhereCascadeAnd = new DynamicFilterInfo()
        {
            Logic = DynamicFilterLogic.And,
            Filters = filters
        };


        //第二层
        var filters2 = new DynamicFilterInfo()
        {
            Field = nameof(XianMu.TuiGuangShangName),
            Operator = DynamicFilterOperator.Equal,
            Value = "推广商3"
        };

        //生成带预设条件的复合查询
        var filtersWhereCascade = new List<DynamicFilterInfo>();
        filtersWhereCascade.Add(filterWhereCascadeAnd);
        filtersWhereCascade.Add(filters2);

        DynamicFilterInfo filterWhereCascadeOr = new DynamicFilterInfo()
        {
            Logic = DynamicFilterLogic.Or,
            Filters = filtersWhereCascade
        };

        return filterWhereCascadeOr;
    }
}
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
9.0.1 70 11/14/2024
9.0.0 73 11/13/2024
8.10.5 83 10/16/2024
8.10.4 80 10/16/2024
8.7.0 122 7/7/2024
8.3.4 135 3/9/2024
8.3.0 124 2/25/2024
8.1.10 148 1/18/2024
8.0.0 195 11/15/2023
7.10.4 169 9/3/2023
7.10.2 132 9/3/2023
7.10.1 159 9/2/2023
7.8.0 164 7/15/2023
7.7.9 184 6/12/2023
7.7.0 167 6/2/2023
7.2.3 236 3/20/2023
7.2.2 238 3/20/2023
7.1.1 263 1/30/2023