Нет, CodeFluent Entities не создает FileTable. Вы можете создать его в сценарии SQL и добавить скрипт в свое решение: SQL Server Producer - Custom scripts
Однако вы можете использовать FileTable для хранения капли. Есть 2 способа использования FileTables:
Использования файловой системы API: FileTable доступен как классические папки, так что вы можете использовать файловую систему бинарной службу
<configuration>
<configSections>
<section name="Sample"type="CodeFluent.Runtime.CodeFluentConfigurationSectionHandler, CodeFluent.Runtime" />
</configSections>
<Sample binaryServicesTypeName="filesystem" fileSystemBlobStorageRootPath="path to file table" />
</configuration>
Использование T-SQL: этот метод не является поддерживаемых в ящике CodeFluent Entities. Однако вы можете поддержать их, создав класс, который наследует от CodeFluent.Runtime.BinaryServices.BaseBinaryLargeObject
и переопределяет методы, такие как ProtectedSave
, PersistenceLoad
, PersistenceDelete
, GetOutputStream
, GetInputStream
. Затем вы можете объявить вам двоичную службу в файле конфигурации:
<configuration>
<configSections>
<section name="Sample" type="CodeFluent.Runtime.CodeFluentConfigurationSectionHandler, CodeFluent.Runtime" />
</configSections>
<Sample binaryServicesTypeName="Sample.FileTableBinaryServices, Sample" />
</configuration>