VLC didn't work, neither did totem, and couldn't get sidplay to work.
Install audacity
then install the "exotic" plugins package, namely audacious-plugins-exotic
There you go. You can load and play your sid files from within audacity.
class BaseClass { public int ID {get; set;} }class DerivedClass : BaseClass { public string A { get; set; }
}
builder.EntitySet<DerivedClass>("DerivedClasses").EntityType.HasKey(c => c.ID);
{ "error":{ "code":"","message":"An error has occurred.","innererror":{ "message":"The 'ObjectContent`1' type failed to serialize the response body for content type 'application/json; odata.metadata=minimal'.","type":"System.InvalidOperationException","stacktrace":"","internalexception":{ "message":"Une valeur primitive a \u00e9t\u00e9 sp\u00e9cifi\u00e9e alors qu'une valeur de type non primitif '' \u00e9tait attendue.","type":"Microsoft.OData.Core.ODataException","stacktrace":" \u00e0 Microsoft.OData.Core.ValidationUtils.ValidateIsExpectedPrimitiveType(Object value, IEdmPrimitiveTypeReference valuePrimitiveTypeReference, IEdmTypeReference expectedTypeReference, Boolean bypassValidation)\r\n \u00e0 .............................(Here I used to suggest defining a "new int ID" in the DerivedClass which worked but was kind of dirty and defeated the whole base class purpose. Here's a better way:)
builder.EntityType<BaseClass>().HasKey(c => c.ID);
builder.EntitySet<DerivedClass>("DerivedClasses").EntityType.HasKey(c => c.ID);
var types = AppDomain.CurrentDomain.GetAssemblies() .SelectMany(a => a.GetTypes()) .Where(t => t.IsSubclassOf(typeof(AbstractModel))); foreach (var type in types) builder.Ignore(types.ToArray());