Code:
[Table("Schema.Comment")]
public class Comment
{
public int Id { get; set; }
public string Text { get; set; }
public string Author { get; set; }
public DateTime Timestamp { get; set; }
public int PostId { get; set; }
}
Actual:
$exception {"The database name 'dbo.Schema.Comment' is invalid. Database names must be of the form [<schema_name>.]<object_name>."} System.Exception {System.ArgumentException}
Expected:
the '.' should interpret the first part "Schema" as the schema and the second part "Comment" as the table name generating a database name Schema.Comment
[Table("Schema.Comment")]
public class Comment
{
public int Id { get; set; }
public string Text { get; set; }
public string Author { get; set; }
public DateTime Timestamp { get; set; }
public int PostId { get; set; }
}
Actual:
$exception {"The database name 'dbo.Schema.Comment' is invalid. Database names must be of the form [<schema_name>.]<object_name>."} System.Exception {System.ArgumentException}
Expected:
the '.' should interpret the first part "Schema" as the schema and the second part "Comment" as the table name generating a database name Schema.Comment