in order to use EF7 commands
This commit is contained in:
parent
2a92ad0cac
commit
4b6958e8e9
474 changed files with 316 additions and 181 deletions
15
Yavsc/Interfaces/IBookQueryData.cs
Normal file
15
Yavsc/Interfaces/IBookQueryData.cs
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
using System;
|
||||
|
||||
namespace Yavsc.Interfaces
|
||||
{
|
||||
using Models.Relationship;
|
||||
using Models.Messaging;
|
||||
public interface IBookQueryData
|
||||
{
|
||||
ClientProviderInfo Client { get; set; }
|
||||
DateTime EventDate { get; set; }
|
||||
long Id { get; set; }
|
||||
Location Location { get; set; }
|
||||
decimal? Previsionnal { get; set; }
|
||||
}
|
||||
}
|
||||
8
Yavsc/Interfaces/ICircleMember.cs
Normal file
8
Yavsc/Interfaces/ICircleMember.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface ICircleMember: IIdentified<long>
|
||||
{
|
||||
ICircle Circle { get; set; }
|
||||
IApplicationUser Member { get; set; }
|
||||
}
|
||||
}
|
||||
10
Yavsc/Interfaces/ICommentable.cs
Normal file
10
Yavsc/Interfaces/ICommentable.cs
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface IComment<T> : IIdentified<T>
|
||||
{
|
||||
T GetReceiverId();
|
||||
void SetReceiverId(T rid);
|
||||
string Content { get; set; }
|
||||
|
||||
}
|
||||
}
|
||||
19
Yavsc/Interfaces/IGoogleCloudMobileDeclaration.cs
Normal file
19
Yavsc/Interfaces/IGoogleCloudMobileDeclaration.cs
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
|
||||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface IGCMDeclaration
|
||||
{
|
||||
string DeviceId { get; set; }
|
||||
string GCMRegistrationId { get; set; }
|
||||
string Model { get; set; }
|
||||
string Platform { get; set; }
|
||||
string Version { get; set; }
|
||||
|
||||
}
|
||||
|
||||
public interface IGoogleCloudMobileDeclaration: IGCMDeclaration
|
||||
{
|
||||
IApplicationUser DeviceOwner { get; set; }
|
||||
string DeviceOwnerId { get; set; }
|
||||
}
|
||||
}
|
||||
8
Yavsc/Interfaces/ILocation.cs
Normal file
8
Yavsc/Interfaces/ILocation.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface ILocation
|
||||
{
|
||||
string Address { get; set; }
|
||||
long Id { get; set; }
|
||||
}
|
||||
}
|
||||
7
Yavsc/Interfaces/IOwned.cs
Normal file
7
Yavsc/Interfaces/IOwned.cs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface IOwned
|
||||
{
|
||||
string OwnerId { get; }
|
||||
}
|
||||
}
|
||||
8
Yavsc/Interfaces/IPosition.cs
Normal file
8
Yavsc/Interfaces/IPosition.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface IPosition
|
||||
{
|
||||
double Latitude { get; set; }
|
||||
double Longitude { get; set; }
|
||||
}
|
||||
}
|
||||
14
Yavsc/Interfaces/ITaggable.cs
Normal file
14
Yavsc/Interfaces/ITaggable.cs
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
using Yavsc.Models.Relationship;
|
||||
|
||||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface ITaggable<K>
|
||||
{
|
||||
void Tag(Tag tag);
|
||||
void Detag(Tag tag);
|
||||
|
||||
string [] GetTags();
|
||||
|
||||
K Id { get; }
|
||||
}
|
||||
}
|
||||
9
Yavsc/Interfaces/Workflow/IBillingClause.cs
Normal file
9
Yavsc/Interfaces/Workflow/IBillingClause.cs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
using Yavsc.Billing;
|
||||
|
||||
namespace Yavsc.Models.Billing {
|
||||
public interface IBillingClause {
|
||||
string Description {get; set;}
|
||||
IBillingImpacter Impacter { get; }
|
||||
}
|
||||
|
||||
}
|
||||
8
Yavsc/Interfaces/Workflow/IContact.cs
Normal file
8
Yavsc/Interfaces/Workflow/IContact.cs
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
namespace Yavsc.Interfaces
|
||||
{
|
||||
public interface IContact
|
||||
{
|
||||
string OwnerId { get; set; }
|
||||
string UserId { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue