feat: Implement ExistingDatabaseContext for managing existing databases with customizable naming strategies and auto-discovery of entities
feat: Add SqlServerSchemaProvider for extracting database schema information from SQL Server feat: Introduce DatabaseType and NamingStrategy enums for better database management and naming conventions feat: Create IDatabaseDiscovery and IDatabaseManager interfaces for database operations and metadata retrieval feat: Develop REST service client architecture with BaseRestServiceClient and SAP Business One specific implementation feat: Implement REST service discovery page with UI for connecting to SAP Business One Service Layer and displaying discovered entities
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace DataConnection.REST.Models
|
||||
{
|
||||
/// <summary>
|
||||
/// Represents information about a discovered REST entity (resource).
|
||||
/// </summary>
|
||||
public class RestEntityInfo
|
||||
{
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public List<RestPropertyInfo> Properties { get; set; } = new List<RestPropertyInfo>();
|
||||
// Add other relevant info like Key properties if needed
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Represents information about a property of a discovered REST entity.
|
||||
/// </summary>
|
||||
public class RestPropertyInfo
|
||||
{
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string Type { get; set; } = string.Empty; // Type as defined in the metadata (e.g., Edm.String, Edm.Int32)
|
||||
public bool IsKey { get; set; } = false;
|
||||
// Add other relevant info like Nullable, MaxLength etc. if needed
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user