Files
Data-Coupler/DataConnection/REST/Models/RestMetadataInfo.cs
T
Alessio 7346db3b63 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
2025-04-29 00:16:03 +02:00

26 lines
912 B
C#

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
}
}