Create Unique Index

Apr 19, 2015 at 6:32 PM
I am trying to create a Unique Index on a table with 3 columns

[Index("Serie,Numero,Ano"),Unique]

But i get error on model building, how is this supose to work?

Regards
Apr 19, 2015 at 6:34 PM
[Unique("Serie,Numero,Ano")]