You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, I'm sorry for taking up your time. But I couldn't find it.
How can i add schema name in entity namespace?
I want to write schema names in the namespace like folders separated by schema names.
CURRENT STATE;
`using Microsoft.EntityFrameworkCore;
namespace BidiBidi.Core.Entities
{
[Table("tbl_name", Schema = "schema_name")]
[Index(nameof(Id), Name = "ix_tbl_table_id")]
public partial class TblTable
{
[Key]
[Column("id")]
public int Id { get; set; }
[Column("adi")]
public string Adi { get; set; }
}
}`
I WANT;
`using Microsoft.EntityFrameworkCore;
namespace BidiBidi.Core.Entities.schema_name
{
[Table("tbl_name", Schema = "schema_name")]
[Index(nameof(Id), Name = "ix_tbl_table_id")]
public partial class TblTable
{
[Key]
[Column("id")]
public int Id { get; set; }
[Column("adi")]
public string Adi { get; set; }
}
}`
EF Core version in use: EF Core 6
Is Handlebars used: yes
EF Core Power Tools version: 2.5.918
Database engine: Postgres
Visual Studio version: Visual Studio 2019, Visual Studio 2022
The text was updated successfully, but these errors were encountered:
Hi EFCorePowerTools team,
First of all, I'm sorry for taking up your time. But I couldn't find it.
How can i add schema name in entity namespace?
I want to write schema names in the namespace like folders separated by schema names.
CURRENT STATE;
`using Microsoft.EntityFrameworkCore;
namespace BidiBidi.Core.Entities
{
[Table("tbl_name", Schema = "schema_name")]
[Index(nameof(Id), Name = "ix_tbl_table_id")]
public partial class TblTable
{
[Key]
[Column("id")]
public int Id { get; set; }
[Column("adi")]
public string Adi { get; set; }
}
}`
I WANT;
`using Microsoft.EntityFrameworkCore;
namespace BidiBidi.Core.Entities.schema_name
{
[Table("tbl_name", Schema = "schema_name")]
[Index(nameof(Id), Name = "ix_tbl_table_id")]
public partial class TblTable
{
[Key]
[Column("id")]
public int Id { get; set; }
[Column("adi")]
public string Adi { get; set; }
}
}`
EF Core version in use: EF Core 6
Is Handlebars used: yes
EF Core Power Tools version: 2.5.918
Database engine: Postgres
Visual Studio version: Visual Studio 2019, Visual Studio 2022
The text was updated successfully, but these errors were encountered: